Skip to content

Commit 0f8784e

Browse files
fix time
1 parent 6261699 commit 0f8784e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/logic/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ char *fossil_pizza_format_ns(uint64_t ns) {
118118
uint64_t nsec = ns % 1000ULL;
119119
char *buffer = (char *)pizza_sys_memory_alloc(64);
120120
if (buffer) {
121-
snprintf(buffer, 64, "%lu sec %lu ms %lu ns", sec, usec, nsec);
121+
snprintf(buffer, 64, "%llu s %llu us %llu ns", (uint64_t)sec, (uint64_t)usec, (uint64_t)nsec);
122122
buffer[63] = '\0';
123123
}
124124

0 commit comments

Comments
 (0)