diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-01-11 02:57:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-01-11 02:57:10 +0000 |
commit | 88fcad1adb5db5b294a11d7e86bff2fbb208a12c (patch) | |
tree | 2da47759420686679004398f305da89d5bb88e10 /sys/dev | |
parent | 2c891e2119c7755ed2d8d1eb60622f27b4131c90 (diff) |
unnecessary cast
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/wscons/wsevent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/wscons/wsevent.c b/sys/dev/wscons/wsevent.c index 6dda88f06e6..6b8d37a33ac 100644 --- a/sys/dev/wscons/wsevent.c +++ b/sys/dev/wscons/wsevent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsevent.c,v 1.10 2014/09/14 14:17:25 jsg Exp $ */ +/* $OpenBSD: wsevent.c,v 1.11 2015/01/11 02:57:09 deraadt Exp $ */ /* $NetBSD: wsevent.c,v 1.16 2003/08/07 16:31:29 agc Exp $ */ /* @@ -100,7 +100,7 @@ wsevent_init(struct wseventvar *ev) return; } ev->get = ev->put = 0; - ev->q = malloc((u_long)WSEVENT_QSIZE * sizeof(struct wscons_event), + ev->q = malloc(WSEVENT_QSIZE * sizeof(struct wscons_event), M_DEVBUF, M_WAITOK | M_ZERO); } |