Commit e26aa085 authored by baujc's avatar baujc Committed by Adam Wujek

Fix error in constant name (time_lib.c)

parent 97fbe7b0
......@@ -38,7 +38,7 @@ char * timeToString(struct pp_time *time, char *buf) {
}
nanos = scaled_nsecs >> TIME_FRACBITS;
picos = ((scaled_nsecs & TIME_FRACMASK) * 1000 + TIME_ROUNDING_VALUE)
>> TIME_INTERVAL_FRACBITS;
>> TIME_FRACBITS;
sprintf(buf,"%c%" PRId64 ".%09" PRId64 "%03" PRId64,
sign,secs,nanos,picos);
} else {
......
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