summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--stc/cfmt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/stc/cfmt.h b/stc/cfmt.h
index 8e13e778..cb05831a 100644
--- a/stc/cfmt.h
+++ b/stc/cfmt.h
@@ -41,9 +41,9 @@ _cfmt_conv(const char *fmt, ...);
cstr_t *: cstr_fmt)
#if defined(_MSC_VER) && !defined(__clang__)
-# define _cfmt_uschar() char: "hhd", unsigned char: "hhu"
+# define _cfmt_uschar() char: "c", unsigned char: "hhu"
#else
-# define _cfmt_uschar() char: "hhd", signed char: "hhd", unsigned char: "hhu"
+# define _cfmt_uschar() char: "c", signed char: "hhd", unsigned char: "hhu"
#endif
#define _cfmt(x) _Generic ((x), \