diff options
author | Peter D'Hoye <peter.dhoye@gmail.com> | 2006-03-01 21:27:05 +0000 |
---|---|---|
committer | Peter D'Hoye <peter.dhoye@gmail.com> | 2006-03-01 21:27:05 +0000 |
commit | 9529d5fd14ec8384816911417f73cd02e026e1f8 (patch) | |
tree | dfffe4843ee14d8dcce09d88288c9050480e718c | |
parent | f954a53da5edc1fc0a46c9a9cedb9ddaf5b0bf1f (diff) | |
download | rockbox-9529d5fd14ec8384816911417f73cd02e026e1f8.tar.gz rockbox-9529d5fd14ec8384816911417f73cd02e026e1f8.zip |
Stop mixing signed and unsigned when dealing with audio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8876 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/pcm_record.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/pcm_record.c b/firmware/pcm_record.c index 444d3f61fa..500f014b47 100644 --- a/firmware/pcm_record.c +++ b/firmware/pcm_record.c @@ -381,9 +381,9 @@ static void pcmrec_callback(bool flush) __attribute__ ((section (".icode"))); static void pcmrec_callback(bool flush) { int num_ready, num_free, num_new; - unsigned short *ptr; - int i, j, w; + short *ptr; short value; + int i, j, w; w = write_index; |