summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorfair <fair@NetBSD.org>2002-10-09 06:27:09 +0000
committerfair <fair@NetBSD.org>2002-10-09 06:27:09 +0000
commit336a7fda4a280bba4394fb7dd2d62bb7b1648f2a (patch)
tree8d8485f55071e6fd4c11f72132de97272e3851df /sys/dev
parent33ecb0af9109b990c4442c55192721e9cac092f4 (diff)
correct LP64 bug in RND code and close PR 18592
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/uhidev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uhidev.c b/sys/dev/usb/uhidev.c
index 24ee4062b83..13310285a3b 100644
--- a/sys/dev/usb/uhidev.c
+++ b/sys/dev/usb/uhidev.c
@@ -1,4 +1,4 @@
-/* $NetBSD: uhidev.c,v 1.9 2002/10/08 09:56:17 dan Exp $ */
+/* $NetBSD: uhidev.c,v 1.10 2002/10/09 06:27:09 fair Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -396,7 +396,7 @@ uhidev_intr(usbd_xfer_handle xfer, usbd_private_handle addr, usbd_status status)
scd->sc_in_rep_size, cc);
#endif
#if NRND > 0
- rnd_add_uint32(&scd->rnd_source, (u_int32_t)(sc->sc_ibuf));
+ rnd_add_uint32(&scd->rnd_source, (uintptr_t)(sc->sc_ibuf));
#endif
scd->sc_intr(scd, p, cc);
}