Fixed compilation warning on 64bit architectures.
Thanks to Neal Probert for the hint.pull/7/head
parent
e7d585a1c8
commit
477c00752b
|
|
@ -508,7 +508,7 @@ int handle_timeo(int fd, long currcms){
|
||||||
char startline[80];
|
char startline[80];
|
||||||
printf("%s%s", CLR_SCREEN, CSR_HOME);
|
printf("%s%s", CLR_SCREEN, CSR_HOME);
|
||||||
snprintf(startline, 79, "< can-sniffer parameters: l=%ld h=%ld t=%ld >", loop, hold, timeout);
|
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;
|
force_redraw = 1;
|
||||||
clearscreen = 0;
|
clearscreen = 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue