From 447eb9c3870d7998df95890e54a328ab67bda40b Mon Sep 17 00:00:00 2001 From: David Mak Date: Fri, 3 Nov 2023 12:14:37 +0800 Subject: [PATCH] standalone: Fix output format string for output_uint* --- nac3standalone/demo/demo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nac3standalone/demo/demo.c b/nac3standalone/demo/demo.c index c02046b37..600df2bf6 100644 --- a/nac3standalone/demo/demo.c +++ b/nac3standalone/demo/demo.c @@ -34,11 +34,11 @@ void output_int64(int64_t x) { } void output_uint32(uint32_t x) { - printf("%d\n", x); + printf("%u\n", x); } void output_uint64(uint64_t x) { - printf("%ld\n", x); + printf("%lu\n", x); } void output_float64(double x) {