forked from M-Labs/nac3
1
0
Fork 0

demo: fix 64-bit format strings

This commit is contained in:
Sebastien Bourdeauducq 2023-12-04 18:50:31 +08:00
parent bfa9ceaae3
commit 98199768e3
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ void output_int32(int32_t x) {
}
void output_int64(int64_t x) {
printf("%ld\n", x);
printf("%lld\n", x);
}
void output_uint32(uint32_t x) {
@ -38,7 +38,7 @@ void output_uint32(uint32_t x) {
}
void output_uint64(uint64_t x) {
printf("%lu\n", x);
printf("%llu\n", x);
}
void output_float64(double x) {