diff options
| author | Tyge Løvset <[email protected]> | 2020-10-21 18:36:06 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2020-10-21 18:36:06 +0200 |
| commit | 477bc1e22461d8edb2582709ffa353fd37058927 (patch) | |
| tree | 026cc7e5325a961b408e226057ad33ae0c8a2891 | |
| parent | 615559a3834044ba4a56e8d896ebead4a3c8fed9 (diff) | |
| download | STC-modified-477bc1e22461d8edb2582709ffa353fd37058927.tar.gz STC-modified-477bc1e22461d8edb2582709ffa353fd37058927.zip | |
Reverted to print chars as chars not numbers. signed char will show as char on VC, gcc/clang/tinyc shows as number.
| -rw-r--r-- | stc/cfmt.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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), \
|
