diff options
Diffstat (limited to 'test/stdint')
-rw-r--r-- | test/stdint/int-types.c | 7 | ||||
-rwxr-xr-x | test/stdint/test-includes.sh | 2 |
2 files changed, 3 insertions, 6 deletions
diff --git a/test/stdint/int-types.c b/test/stdint/int-types.c index 2660084d94..f6d09e8643 100644 --- a/test/stdint/int-types.c +++ b/test/stdint/int-types.c @@ -1,5 +1,4 @@ #include <common.h> -#include <inttypes.h> int test_types(void) { @@ -7,7 +6,7 @@ int test_types(void) uint64_t uint64 = 0; u64 u64_val = 0; - printf("uintptr = %" PRIuPTR "\n", uintptr); - printf("uint64 = %" PRIu64 "\n", uint64); - printf("u64 = %" PRIu64 "\n", u64_val); + printf("uintptr = %lu\n", uintptr); + printf("uint64 = %llu\n", uint64); + printf("u64 = %llu\n", u64_val); } diff --git a/test/stdint/test-includes.sh b/test/stdint/test-includes.sh index 077bdc73a1..1db8515e82 100755 --- a/test/stdint/test-includes.sh +++ b/test/stdint/test-includes.sh @@ -46,10 +46,8 @@ try_test() { $cmd } -# Run a test with and without CONFIG_USE_STDINT try_both() { try_test $@ - try_test $@ -DCONFIG_USE_STDINT } # board arch soc path-to-gcc |