summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2007-06-02 07:19:29 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2007-06-02 07:19:29 +0000
commit62397cf5edad07aecf6ef2f936d03afc9671beff (patch)
treea02d4c85035f2298d60e18bd3427b7d60bc98115 /sys
parenta336e6d76e401f4746af4f10efd25d0e22560a92 (diff)
little fixes to get hotkeys working again. from alexey vatchenko
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/wscons/wskbd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/wscons/wskbd.c b/sys/dev/wscons/wskbd.c
index 786f2e90d39..b57f8600298 100644
--- a/sys/dev/wscons/wskbd.c
+++ b/sys/dev/wscons/wskbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wskbd.c,v 1.55 2007/05/31 22:23:13 tedu Exp $ */
+/* $OpenBSD: wskbd.c,v 1.56 2007/06/02 07:19:28 tedu Exp $ */
/* $NetBSD: wskbd.c,v 1.80 2005/05/04 01:52:16 augustss Exp $ */
/*
@@ -1649,15 +1649,15 @@ wskbd_translate(struct wskbd_internal *id, u_int type, int value)
#if NAUDIO > 0
case KS_AudioMute:
workq_add_task(NULL, 0, (workq_fn)wskbd_set_mixervolume,
- (void *)(u_long)0, NULL);
+ (void *)(long)0, NULL);
break;
case KS_AudioLower:
workq_add_task(NULL, 0, (workq_fn)wskbd_set_mixervolume,
- (void *)(u_long)1, NULL);
+ (void *)(long)-1, NULL);
break;
case KS_AudioRaise:
workq_add_task(NULL, 0, (workq_fn)wskbd_set_mixervolume,
- (void *)(u_long)1, NULL);
+ (void *)(long)1, NULL);
return (0);
#endif
default: