Commit ca091b2f authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

cmd_time: without the uint32_t cast operator, mprintf gives always 0 for uint64_t variable

parent 44cce6cd
......@@ -31,7 +31,7 @@ int cmd_time(const char *args[])
return -EBUSY;
} else if(args[0] && !strcasecmp(args[0], "raw"))
{
mprintf("%d %d\n", sec, nsec);
mprintf("%d %d\n", (uint32_t)sec, nsec);
return 0;
}
......
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