aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/oss.c b/oss.c
index de655ce9b3..40c9462cf3 100644
--- a/oss.c
+++ b/oss.c
@@ -403,7 +403,7 @@ void AUD_run (void)
left = oss.bufsize - oss.rpos;
play = MIN (left, bytes);
- written = write (oss.fd, (void *) ((uint32_t) oss.buf + oss.rpos), play);
+ written = write (oss.fd, (uint8_t *)oss.buf + oss.rpos, play);
if (-1 == written) {
if (EAGAIN == errno || EINTR == errno) {