diff options
author | jhb <jhb@FreeBSD.org> | 2002-10-25 20:49:24 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-10-25 20:49:24 +0000 |
commit | 70f2b22f03e605236dcc8343cc32c9f0ce4ad38f (patch) | |
tree | d16708fcd7ce13315cb93044601ade415675af4d /sys/dev | |
parent | 068e73d38906755100544d954fa56b98cd36d4e1 (diff) | |
download | FreeBSD-src-70f2b22f03e605236dcc8343cc32c9f0ce4ad38f.zip FreeBSD-src-70f2b22f03e605236dcc8343cc32c9f0ce4ad38f.tar.gz |
Cast si_drv2 to intptr_t instead of int to quiet warnings.
Tested on: alpha
Reported by: marcel (on an ia64)
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/rc/rc.c | 2 |
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 { |