summaryrefslogtreecommitdiff
path: root/apps/codecs/libwavpack/words.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libwavpack/words.c')
-rw-r--r--apps/codecs/libwavpack/words.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libwavpack/words.c b/apps/codecs/libwavpack/words.c
index d46bb56911..96e3b60ebb 100644
--- a/apps/codecs/libwavpack/words.c
+++ b/apps/codecs/libwavpack/words.c
@@ -762,7 +762,7 @@ long exp2s (int log)
762// to and from an 8-bit signed character version for storage in metadata. The 762// to and from an 8-bit signed character version for storage in metadata. The
763// weights are clipped here in the case that they are outside that range. 763// weights are clipped here in the case that they are outside that range.
764 764
765char store_weight (int weight) 765signed char store_weight (int weight)
766{ 766{
767 if (weight > 1024) 767 if (weight > 1024)
768 weight = 1024; 768 weight = 1024;
@@ -775,7 +775,7 @@ char store_weight (int weight)
775 return (weight + 4) >> 3; 775 return (weight + 4) >> 3;
776} 776}
777 777
778int restore_weight (char weight) 778int restore_weight (signed char weight)
779{ 779{
780 int result; 780 int result;
781 781