From de5b141b6a71ac2e657ff4bf6a5919e57a43a661 Mon Sep 17 00:00:00 2001 From: thorpej Date: Mon, 25 Nov 2002 02:28:56 +0000 Subject: [PATCH] Avoid strict-alias warnings. --- sys/dev/usb/ucom.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/usb/ucom.c b/sys/dev/usb/ucom.c index a8e574d2bb16..6847c54a6381 100644 --- a/sys/dev/usb/ucom.c +++ b/sys/dev/usb/ucom.c @@ -1,4 +1,4 @@ -/* $NetBSD: ucom.c,v 1.47 2002/10/23 09:13:59 jdolecek Exp $ */ +/* $NetBSD: ucom.c,v 1.48 2002/11/25 02:28:56 thorpej Exp $ */ /* * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc. @@ -41,7 +41,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ucom.c,v 1.47 2002/10/23 09:13:59 jdolecek Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ucom.c,v 1.48 2002/11/25 02:28:56 thorpej Exp $"); #include #include @@ -1067,7 +1067,7 @@ ucomreadcb(usbd_xfer_handle xfer, usbd_private_handle p, usbd_status status) return; } - usbd_get_xfer_status(xfer, NULL, (void **)&cp, &cc, NULL); + usbd_get_xfer_status(xfer, NULL, (void *)&cp, &cc, NULL); #if defined(__NetBSD__) && NRND > 0 rnd_add_uint32(&sc->sc_rndsource, cc); #endif