diff options
author | peter <peter@FreeBSD.org> | 2001-06-15 00:26:41 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-06-15 00:26:41 +0000 |
commit | c87a44114a6f650a31f96fd93b7da023a0b18fd4 (patch) | |
tree | 5af5694aa94587b46ade2173173480fc025b1147 /sys/dev | |
parent | ea6e16bc20e4706c99c89ec7b7f3ab3be1791a4c (diff) | |
download | FreeBSD-src-c87a44114a6f650a31f96fd93b7da023a0b18fd4.zip FreeBSD-src-c87a44114a6f650a31f96fd93b7da023a0b18fd4.tar.gz |
Fix warning: 128: warning: initialization makes pointer from integer
Note: this file has lots of #if __FreeBSD__ >= 4 etc which needs to be
changed to __FreeBSD_version >= 400000 etc.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/usb/urio.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/usb/urio.c b/sys/dev/usb/urio.c index 4cb4dff..da01d6d 100644 --- a/sys/dev/usb/urio.c +++ b/sys/dev/usb/urio.c @@ -124,7 +124,10 @@ Static struct cdevsw urio_cdevsw = { urioopen, urioclose, urioread, uriowrite, urioioctl, nopoll, nommap, nostrategy, "urio", URIO_CDEV_MAJOR,nodump, nopsize, - 0, -1 + 0, +#if (__FreeBSD__ < 5) + -1 +#endif }; #define RIO_UE_GET_DIR(p) ((UE_GET_DIR(p) == UE_DIR_IN) ? RIO_IN :\ ((UE_GET_DIR(p) == UE_DIR_OUT) ? RIO_OUT :\ |