summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/rc/rc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c
index b69f58c..dcf5781 100644
--- a/sys/dev/rc/rc.c
+++ b/sys/dev/rc/rc.c
@@ -77,7 +77,7 @@
#define RC_FAKEID 0x10
-#define CALLOUT(dev) (((int)(dev)->si_drv2) != 0)
+#define CALLOUT(dev) (((intptr_t)(dev)->si_drv2) != 0)
/* Per-channel structure */
struct rc_chans {
OpenPOWER on IntegriCloud