forked from M-Labs/nac3
1
0
Fork 0

standalone: Fix output format string for output_uint*

This commit is contained in:
David Mak 2023-11-03 12:14:37 +08:00
parent 92d6f0a5d3
commit 447eb9c387
1 changed files with 2 additions and 2 deletions

View File

@ -34,11 +34,11 @@ void output_int64(int64_t x) {
} }
void output_uint32(uint32_t x) { void output_uint32(uint32_t x) {
printf("%d\n", x); printf("%u\n", x);
} }
void output_uint64(uint64_t x) { void output_uint64(uint64_t x) {
printf("%ld\n", x); printf("%lu\n", x);
} }
void output_float64(double x) { void output_float64(double x) {