projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2630b3
)
Fix another gcc signedness warning in write.c
author
Andre
<maan@p133.(none)>
Mon, 24 Apr 2006 14:16:04 +0000
(16:16 +0200)
committer
Andre
<maan@p133.(none)>
Mon, 24 Apr 2006 14:16:04 +0000
(16:16 +0200)
write.c
patch
|
blob
|
history
diff --git
a/write.c
b/write.c
index
538651d
..
6e4ee06
100644
(file)
--- a/
write.c
+++ b/
write.c
@@
-227,7
+227,7
@@
out:
*/
static size_t check_wave(void)
{
- unsigned char *a = audiobuf;
+ unsigned char *a =
(unsigned char*)
audiobuf;
if (a[0] != 'R' || a[1] != 'I' || a[2] != 'F' || a[3] != 'F')
return WAV_HEADER_LEN;
conf.channels_arg = (unsigned) a[22];