summaryrefslogtreecommitdiff
path: root/apps/plugins/wav2wv.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/wav2wv.c')
-rw-r--r--apps/plugins/wav2wv.c4
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;