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 <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
Sakari Ailus 2007-07-20 13:12:51 -03:00 • committed by Mauro Carvalho Chehab
commit 63116febb9
2 changed files with 20 additions and 10 deletions

View file

@ -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 \