diff options
Diffstat (limited to 'oss.c')
-rw-r--r-- | oss.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |