aboutsummaryrefslogtreecommitdiffstats
path: root/libcharconv_mirrored.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-01-25 23:08:40 +0100
committerMattias Andrée <m@maandree.se>2026-01-25 23:08:40 +0100
commitd0caefee7e2a45aebf14a6911021c7af9aed2a9f (patch)
tree72c074eebb678316d6e636767ab29494ef102b30 /libcharconv_mirrored.c
parentAdd control character representations (diff)
downloadcharconv-d0caefee7e2a45aebf14a6911021c7af9aed2a9f.tar.gz
charconv-d0caefee7e2a45aebf14a6911021c7af9aed2a9f.tar.bz2
charconv-d0caefee7e2a45aebf14a6911021c7af9aed2a9f.tar.xz
Add chess
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libcharconv_mirrored.c')
-rw-r--r--libcharconv_mirrored.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libcharconv_mirrored.c b/libcharconv_mirrored.c
index 9f16569..eecd5f8 100644
--- a/libcharconv_mirrored.c
+++ b/libcharconv_mirrored.c
@@ -6,12 +6,12 @@ static struct {
uint_least32_t a;
uint_least32_t b;
} pairs[] = {
- {0x2032, 0x2035},
- {0x2033, 0x2036},
- {0x2034, 0x2037},
- {0x204F, 0x003B},
- {0x2E2E, 0x003F},
- {0x2143, 0x004C},
+ {UINT32_C(0x2032), UINT32_C(0x2035)},
+ {UINT32_C(0x2033), UINT32_C(0x2036)},
+ {UINT32_C(0x2034), UINT32_C(0x2037)},
+ {UINT32_C(0x204F), UINT32_C(0x003B)},
+ {UINT32_C(0x2E2E), UINT32_C(0x003F)},
+ {UINT32_C(0x2143), UINT32_C(0x004C)},
{UINT32_C(0xA4ED), (uint_least32_t)'B'},
{UINT32_C(0xA4DB), (uint_least32_t)'C'},
{UINT32_C(0xA4F7), (uint_least32_t)'D'},