From: Jean Delvare Date: Wed, 20 Mar 2013 14:08:36 +0000 (-0300) Subject: dvbv5-zap: Fix build warning X-Git-Tag: v4l-utils-0.9.4~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ed9853fad4533ca69551a19183fbe0574b864af;p=platform%2Fupstream%2Fv4l-utils.git dvbv5-zap: Fix build warning dvbv5-zap.c: In function "do_traffic_monitor": dvbv5-zap.c:582:12: warning: format "%d" expects argument of type "int", but argument 5 has type "long long unsigned int" [-Wformat] Signed-off-by: Jean Delvare Signed-off-by: Mauro Carvalho Chehab --- diff --git a/utils/dvb/dvbv5-zap.c b/utils/dvb/dvbv5-zap.c index b7cac00..1f1f588 100644 --- a/utils/dvb/dvbv5-zap.c +++ b/utils/dvb/dvbv5-zap.c @@ -575,7 +575,7 @@ int do_traffic_monitor(struct arguments *args, int _pid = 0; for (_pid = 0; _pid < 0x2001; _pid++) { if (pidt[_pid]) { - printf("%04x %8.2f p/s %7.1f kb/s %8d Kb\n", + printf("%04x %8.2f p/s %7.1f kb/s %8llu Kb\n", _pid, pidt[_pid] * 1000. / diff, pidt[_pid] * 1000. / diff * 188 / 1024,