From: Oliver Hartkopp Date: Sun, 8 Jul 2007 12:44:12 +0000 (+0000) Subject: Fixed compilation warning on 64bit architectures. X-Git-Tag: 0.1~208 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=477c00752b236a14e8a16c29be594aa9f3f4c067;p=profile%2Fivi%2Fcan-utils.git Fixed compilation warning on 64bit architectures. Thanks to Neal Probert for the hint. --- diff --git a/cansniffer.c b/cansniffer.c index 7479ea3..26e54b3 100644 --- a/cansniffer.c +++ b/cansniffer.c @@ -508,7 +508,7 @@ int handle_timeo(int fd, long currcms){ char startline[80]; printf("%s%s", CLR_SCREEN, CSR_HOME); snprintf(startline, 79, "< can-sniffer parameters: l=%ld h=%ld t=%ld >", loop, hold, timeout); - printf("%s%*s",STARTLINESTR, 79-strlen(STARTLINESTR), startline); + printf("%s%*s",STARTLINESTR, 79-(int)strlen(STARTLINESTR), startline); force_redraw = 1; clearscreen = 0; }