projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
420557e
)
pointer arith fix
author
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 30 Sep 2004 22:19:55 +0000
(22:19 +0000)
committer
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 30 Sep 2004 22:19:55 +0000
(22:19 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1086
c046a42c
-6fe2-441c-8c8c-
71466251a162
oss.c
patch
|
blob
|
history
diff --git
a/oss.c
b/oss.c
index de655ce9b3d8ef011f73ff1af9d8bf397eea7e43..40c9462cf39bce520102e11579549c8b418f35f2 100644
(file)
--- 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) {