aboutsummaryrefslogtreecommitdiffstats
path: root/common/sound.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-04-01 11:24:41 +0200
committerGerd Hoffmann <kraxel@redhat.com>2010-04-01 11:24:41 +0200
commit45a153b46c280b51471ec12854cce623ef8f92be (patch)
treef4387c5c580e750919d0e5106327df0d0c54a645 /common/sound.c
parentc75c37f7104480a0d386a9e0caa8a72335395503 (diff)
v3.95
Diffstat (limited to 'common/sound.c')
-rw-r--r--common/sound.c4
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;

Privacy Policy