libv4lconvert: Fix printf conversion modifier
authorGregor Jasny <gjasny@googlemail.com>
Tue, 14 Feb 2012 19:27:57 +0000 (20:27 +0100)
committerGregor Jasny <gjasny@googlemail.com>
Tue, 14 Feb 2012 19:42:44 +0000 (20:42 +0100)
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
lib/libv4lconvert/jl2005bcd.c

index 0e48cca..7197df4 100644 (file)
@@ -168,7 +168,7 @@ int v4lconvert_decode_jl2005bcd(struct v4lconvert_data *data,
 \r
                size = eoi - jpeg_data_idx;\r
                if ((JPEG_HEADER_SIZE + size) > sizeof(jpeg_stripe)) {\r
-                       V4LCONVERT_ERR("stripe size too big %d > %ld\n",\r
+                       V4LCONVERT_ERR("stripe size too big %d > %zd\n",\r
                                       JPEG_HEADER_SIZE + size,\r
                                       sizeof(jpeg_stripe));\r
                        return 1;\r