rcx

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

commit b77dee892061c577d4fc75c0ddd12a0d8c7d8150
parent 5bea8433a892d3f156d37e2b82658173814ce54b
Author: Robert Russell <robertrussell.72001@gmail.com>
Date:   Tue, 13 Jun 2023 19:01:46 -0700

Fix char signedness issue in str_static

Diffstat:
Minc/string.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inc/string.h b/inc/string.h @@ -34,7 +34,7 @@ struct rc_str { #define str_static(s, ...) (Str){ \ .len = sizeof(s) - 1, \ - .data = s \ + .data = (u8 *)s \ } static inline usize