Skip to content
Snippets Groups Projects
Commit c3672fd9 authored by Adam Wujek's avatar Adam Wujek
Browse files

lib/time-arith: fix warning in pp_sprintf


Signed-off-by: default avatarAdam Wujek <dev_public@wujek.eu>
parent 8543a86d
No related branches found
No related tags found
No related merge requests found
......@@ -310,6 +310,6 @@ char *relative_interval_to_string(RelativeDifference time)
sub_yocto += bitWeight;
bitWeight /= 2;
}
pp_sprintf(time_as_string,"%c%"PRId32".%018Ld", sign, nsecs, sub_yocto);
pp_sprintf(time_as_string,"%c%"PRId32".%018"PRId64, sign, nsecs, sub_yocto);
return time_as_string;
}
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