From fa5c39c83fbd2177589e050860a890eebeae8bd2 Mon Sep 17 00:00:00 2001 From: SoraKatadzuma Date: Fri, 28 Aug 2026 11:23:26 -0500 Subject: [PATCH] Removed redundant type switches --- include/malunal/microtest.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/malunal/microtest.h b/include/malunal/microtest.h index 15922d2..87707fa 100644 --- a/include/malunal/microtest.h +++ b/include/malunal/microtest.h @@ -209,12 +209,10 @@ microtest_should_decompose_macro( malunal_uint8_t : "%hhu", \ malunal_uint16_t : "%hu", \ malunal_uint32_t : "%u", \ - malunal_uintptr_t : "%lu", \ malunal_uint64_t : "%llu", \ malunal_int8_t : "'%c'", \ malunal_int16_t : "%hd", \ malunal_int32_t : "%d", \ - malunal_intptr_t : "%ld", \ malunal_int64_t : "%lld", \ float : "%f", \ double : "%f", \ @@ -284,7 +282,7 @@ microtest_should_decompose_macro( microtest_printf("\n"); \ microtest_printf(" Actual : %s", #actual); \ microtest_printf(" == "); \ - microtest_overload_printer(#actual); \ + microtest_overload_printer(actual); \ microtest_printf("\n"); \ handler; \ if (microtest_should_abort_test) \