Skip to content
Snippets Groups Projects
Commit 55a4d238 authored by Dmitry Simonenko's avatar Dmitry Simonenko
Browse files

fix compiler warning on CentOS builds.

parent 27e762e7
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ void tc_print_cmd2tee(char *prompt, char *cmd, int size) {
}
void tc_print_buf(char *buf, size_t size) {
printf("%-.*s", size, buf);
printf("%-.*s", (int)size, buf);
fflush(stdout);
tc_print_tee(buf, size);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment