From 62397cf5edad07aecf6ef2f936d03afc9671beff Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sat, 2 Jun 2007 07:19:29 +0000 Subject: little fixes to get hotkeys working again. from alexey vatchenko --- sys/dev/wscons/wskbd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys') 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: -- cgit v1.2.3