diff --git a/build/make/obj_int_extract.c b/build/make/obj_int_extract.c
index dbd8c9ee21a0af342727459c0816d262869dbbf1..8c169577cfac0b180c1af93e9f29397665275e76 100644
--- a/build/make/obj_int_extract.c
+++ b/build/make/obj_int_extract.c
@@ -44,10 +44,10 @@ int print_macho_equ(output_fmt_t mode, uint8_t* name, int val) {
     case OUTPUT_FMT_RVDS:
       printf("%-40s EQU %5d\n", name, val);
       return 0;
-    case  OUTPUT_FMT_GAS:
+    case OUTPUT_FMT_GAS:
       printf(".set %-40s, %5d\n", name, val);
       return 0;
-    case OUTPUT_C_HEADER:
+    case OUTPUT_FMT_C_HEADER:
       printf("#define %-40s %5d\n", name, val);
       return 0;
     default: