summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-11-09 21:31:34 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-11-09 21:31:34 +0000
commit859613de55990e89acb6be85a8fa9dea03b89d44 (patch)
treeabc7f6877e4dae373cb4b6dcf11842747eb02afa
parentb32ad158dc197b9567994bf9cb5a5bb644772757 (diff)
cast pointer to a long for alpha's sake; pointed out by ericj@
-rw-r--r--sys/dev/audio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/audio.c b/sys/dev/audio.c
index 94bc734083b..52f5d472141 100644
--- a/sys/dev/audio.c
+++ b/sys/dev/audio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: audio.c,v 1.23 2000/07/19 09:04:37 csapuntz Exp $ */
+/* $OpenBSD: audio.c,v 1.24 2000/11/09 21:31:33 mickey Exp $ */
/* $NetBSD: audio.c,v 1.105 1998/09/27 16:43:56 christos Exp $ */
/*
@@ -2003,7 +2003,7 @@ audio_pint(v)
blksize = cb->blksize;
- add_audio_randomness(cb);
+ add_audio_randomness((long)cb);
cb->outp += blksize;
if (cb->outp >= cb->end)
@@ -2126,7 +2126,7 @@ audio_rint(v)
if (!sc->sc_open)
return; /* ignore interrupt if not open */
- add_audio_randomness(cb);
+ add_audio_randomness((long)cb);
blksize = cb->blksize;