summaryrefslogtreecommitdiffstats
path: root/include/media/v4l2-int-device.h
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@nokia.com>2007-07-20 13:12:51 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 22:02:57 -0300
commit63116febb9233743279a05be510ab8524f5f6242 (patch)
tree2a172ad8a12e27ce8473295b2bd730a215f06665 /include/media/v4l2-int-device.h
parentbaa05e4b454fa7d87f9a41a4bbc1f749c113ff3a (diff)
V4L/DVB (5883): V4L: Fix a compile warning on non-32-bit machines.
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 'include/media/v4l2-int-device.h')
-rw-r--r--include/media/v4l2-int-device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/v4l2-int-device.h b/include/media/v4l2-int-device.h
index 2b6fc1122f6..deb28ce6685 100644
--- a/include/media/v4l2-int-device.h
+++ b/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 \