diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-20 13:12:51 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-20 13:12:51 -0300 |
commit | d8e74edcbda46104b1e4e5160b6c67ddba166baf (patch) | |
tree | 128d27d8e6893a608242c79a2af5f6fde7179570 /linux/include/media/v4l2-int-device.h | |
parent | 2e9f5b4d99ccd25631f71d034960abb4c024d5a5 (diff) | |
download | mediapointer-dvb-s2-d8e74edcbda46104b1e4e5160b6c67ddba166baf.tar.gz mediapointer-dvb-s2-d8e74edcbda46104b1e4e5160b6c67ddba166baf.tar.bz2 |
V4L: Fix a compile warning on non-32-bit machines.
From: Sakari Ailus <sakari.ailus@nokia.com>
Fix a compile warning on non-32-bit machines in v4l2-int-device.h.
Add internal ioctl interface fallback function for ioctls with one
argument.
Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/include/media/v4l2-int-device.h')
-rw-r--r-- | linux/include/media/v4l2-int-device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/include/media/v4l2-int-device.h b/linux/include/media/v4l2-int-device.h index 2b6fc1122..deb28ce66 100644 --- a/linux/include/media/v4l2-int-device.h +++ b/linux/include/media/v4l2-int-device.h @@ -170,7 +170,7 @@ int v4l2_int_ioctl_1(struct v4l2_int_device *d, int cmd, void *arg); arg_type asterisk arg) \ { \ return v4l2_int_ioctl_1(d, vidioc_int_##name##_num, \ - (void *)arg); \ + (void *)(unsigned long)arg); \ } \ \ static inline struct v4l2_int_ioctl_desc \ |