diff options
Diffstat (limited to 'common/sound.c')
-rw-r--r-- | common/sound.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/sound.c b/common/sound.c index 490d3f2..ae1e042 100644 --- a/common/sound.c +++ b/common/sound.c @@ -13,8 +13,8 @@ void oss_levels(struct ng_audio_buf *buf, int *left, int *right) { int lmax,rmax,i,level; - signed char *s = buf->data; - unsigned char *u = buf->data; + signed char *s = (signed char*) buf->data; + unsigned char *u = (unsigned char*) buf->data; lmax = 0; rmax = 0; |