Commit b5ddf17d authored by Federico Vaga's avatar Federico Vaga

wrtd:tools: fix printf warning

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>


NOTE
This commit has been created by `git subtree` on the Mock Turtle repository
on tag mock-turtle-2.0

This commit will not compile
parent 84ae7d2f
......@@ -91,7 +91,7 @@ int main(int argc, char *argv[])
fprintf(stdout, "input : it is running!\n");
if (time)
fprintf(stdout,
"\tbase time\ts:%d t:%d f:%d\n",
"\tbase time\ts:%"PRIu64" t:%d f:%d\n",
tsi.seconds, tsi.ticks, tsi.frac);
}
/* check output */
......@@ -103,7 +103,7 @@ int main(int argc, char *argv[])
fprintf(stdout, "output : it is running!\n");
if (time)
fprintf(stdout,
"\tbase time\ts:%d t:%d f:%d\n",
"\tbase time\ts:%"PRIu64" t:%d f:%d\n",
tso.seconds, tso.ticks, tso.frac);
}
fprintf(stdout, "\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment