diff options
Diffstat (limited to 'lib/libossaudio/ossaudio.c')
-rw-r--r-- | lib/libossaudio/ossaudio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libossaudio/ossaudio.c b/lib/libossaudio/ossaudio.c index 9b9b7215847..f2e967db299 100644 --- a/lib/libossaudio/ossaudio.c +++ b/lib/libossaudio/ossaudio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ossaudio.c,v 1.1 1998/05/01 09:23:00 provos Exp $ */ +/* $OpenBSD: ossaudio.c,v 1.2 1998/05/25 21:37:46 provos Exp $ */ /* $NetBSD: ossaudio.c,v 1.5 1998/03/23 00:39:18 augustss Exp $ */ /* @@ -275,7 +275,7 @@ audio_ioctl(int fd, unsigned long com, void *argp) if (retval < 0) return retval; u = tmpinfo.blocksize; - for(idat = 0; u; idat++, u >>= 1) + for(idat = 0; u>1; idat++, u >>= 1) ; idat |= (tmpinfo.hiwat & 0x7fff) << 16; INTARG = idat; |