mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 06:20:00 +02:00
Fixed compilation warning on 64bit architectures.
Thanks to Neal Probert for the hint.
This commit is contained in:
+1
-1
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user