diff options
| author | Dave Bryant <bryant@rockbox.org> | 2005-12-19 03:12:20 +0000 |
|---|---|---|
| committer | Dave Bryant <bryant@rockbox.org> | 2005-12-19 03:12:20 +0000 |
| commit | 278f2b3d5ae685660b3bb11e70a46a207610257b (patch) | |
| tree | af3199a0737052292d0926e687e7517536596931 /apps/codecs/libwavpack/words.c | |
| parent | 0dc63c1b7145b0b37476bdd701b8d5c15ad038b3 (diff) | |
| download | rockbox-278f2b3d5ae685660b3bb11e70a46a207610257b.zip rockbox-278f2b3d5ae685660b3bb11e70a46a207610257b.tar.gz rockbox-278f2b3d5ae685660b3bb11e70a46a207610257b.tar.bz2 rockbox-278f2b3d5ae685660b3bb11e70a46a207610257b.tar.xz | |
Explicitly declare char types to be signed when they must be
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8263 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libwavpack/words.c')
| -rw-r--r-- | apps/codecs/libwavpack/words.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libwavpack/words.c b/apps/codecs/libwavpack/words.c index d46bb56..96e3b60 100644 --- a/apps/codecs/libwavpack/words.c +++ b/apps/codecs/libwavpack/words.c @@ -762,7 +762,7 @@ long exp2s (int log) // to and from an 8-bit signed character version for storage in metadata. The // weights are clipped here in the case that they are outside that range. -char store_weight (int weight) +signed char store_weight (int weight) { if (weight > 1024) weight = 1024; @@ -775,7 +775,7 @@ char store_weight (int weight) return (weight + 4) >> 3; } -int restore_weight (char weight) +int restore_weight (signed char weight) { int result; |