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/plugins/wav2wv.c | |
parent | 0dc63c1b7145b0b37476bdd701b8d5c15ad038b3 (diff) | |
download | rockbox-278f2b3d5ae685660b3bb11e70a46a207610257b.tar.gz rockbox-278f2b3d5ae685660b3bb11e70a46a207610257b.zip |
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/plugins/wav2wv.c')
-rw-r--r-- | apps/plugins/wav2wv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/wav2wv.c b/apps/plugins/wav2wv.c index fb8017d368..1f47eff3ed 100644 --- a/apps/plugins/wav2wv.c +++ b/apps/plugins/wav2wv.c | |||
@@ -186,7 +186,7 @@ static int wav2wv (char *filename) | |||
186 | unsigned long samples_count, samples_to_pack, bytes_count; | 186 | unsigned long samples_count, samples_to_pack, bytes_count; |
187 | int cnt, buttons; | 187 | int cnt, buttons; |
188 | long value, *lp; | 188 | long value, *lp; |
189 | char *cp; | 189 | signed char *cp; |
190 | 190 | ||
191 | samples_count = SAMPLES_PER_BLOCK; | 191 | samples_count = SAMPLES_PER_BLOCK; |
192 | 192 | ||
@@ -204,7 +204,7 @@ static int wav2wv (char *filename) | |||
204 | total_bytes_read += bytes_count; | 204 | total_bytes_read += bytes_count; |
205 | WavpackStartBlock (wpc, output_buffer, output_buffer + 0x100000); | 205 | WavpackStartBlock (wpc, output_buffer, output_buffer + 0x100000); |
206 | samples_to_pack = samples_count; | 206 | samples_to_pack = samples_count; |
207 | cp = (char *) input_buffer; | 207 | cp = (signed char *) input_buffer; |
208 | 208 | ||
209 | while (samples_to_pack) { | 209 | while (samples_to_pack) { |
210 | unsigned long samples_this_pass = TEMP_SAMPLES / num_chans; | 210 | unsigned long samples_this_pass = TEMP_SAMPLES / num_chans; |