From 6f3efb7629c7d77a1ffe485f37352cfb535d8e2c Mon Sep 17 00:00:00 2001 From: Gregor Jasny Date: Tue, 14 Feb 2012 20:27:57 +0100 Subject: [PATCH] libv4lconvert: Fix printf conversion modifier Signed-off-by: Gregor Jasny --- lib/libv4lconvert/jl2005bcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libv4lconvert/jl2005bcd.c b/lib/libv4lconvert/jl2005bcd.c index 0e48cca..7197df4 100644 --- a/lib/libv4lconvert/jl2005bcd.c +++ b/lib/libv4lconvert/jl2005bcd.c @@ -168,7 +168,7 @@ int v4lconvert_decode_jl2005bcd(struct v4lconvert_data *data, size = eoi - jpeg_data_idx; if ((JPEG_HEADER_SIZE + size) > sizeof(jpeg_stripe)) { - V4LCONVERT_ERR("stripe size too big %d > %ld\n", + V4LCONVERT_ERR("stripe size too big %d > %zd\n", JPEG_HEADER_SIZE + size, sizeof(jpeg_stripe)); return 1; -- 2.7.4