rcx

library of miscellaneous bits of C code
git clone git://git.rr3.xyz/rcx
Log | Files | Refs | README | LICENSE

commit 4645170dfe013ea8d59fe588b63d4bb9c6620dce
parent 821aa4cf7ca61177b404d57829c501e70bae0933
Author: robert <robertrussell.72001@gmail.com>
Date:   Fri, 19 Aug 2022 19:13:41 -0700

Use uint32_t directly for rune definition

Makes me feel better

Diffstat:
Minc/cext/def.h | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/inc/cext/def.h b/inc/cext/def.h @@ -110,11 +110,10 @@ typedef unsigned __int128 u128; #endif -/* TODO: change to i32 so sign can be used */ #define RUNE_BAD RUNE_C(0xFFFD) #define RUNE_MAX RUNE_C(0x10FFFF) -#define RUNE_C U32_C -typedef u32 rune; +#define RUNE_C UINT32_C +typedef uint32_t rune; #if __STDC_VERSION__ >= 201100L typedef max_align_t maxalign;