libv4l: __u32 -> uint32_t
authorHans de Goede <hdegoede@redhat.com>
Wed, 21 Oct 2009 08:06:23 +0000 (10:06 +0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 24 Feb 2010 00:44:39 +0000 (21:44 -0300)
libv4l: __u32 -> uint32_t, to make our FreeBSD friends happy :)

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
lib/libv4lconvert/control/libv4lcontrol.c

index 331de50..86cc72c 100644 (file)
@@ -26,6 +26,7 @@
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <stdint.h>
 #include <unistd.h>
 #include <string.h>
 #include <pwd.h>
@@ -646,7 +647,7 @@ int v4lcontrol_vidioc_queryctrl(struct v4lcontrol_data *data, void *arg)
   int i;
   struct v4l2_queryctrl *ctrl = arg;
   int retval;
-  __u32 orig_id=ctrl->id;
+  uint32_t orig_id=ctrl->id;
 
   /* if we have an exact match return it */
   for (i = 0; i < V4LCONTROL_COUNT; i++)