Commit: 5009b1964583f469799b9dfbff30b42221f74e64
Parent: 64fe65639e4fcb09b641035520393fde70d76ee5
Author: Randy Palamar
Date: Tue, 13 Jan 2026 09:55:31 -0700
util: add missing i8 definition
I guess this was in some other commit (I was cherry-picking
commits from 'updates').
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/util.h b/util.h
@@ -156,7 +156,9 @@
#define MB(a) ((u64)(a) << 20ULL)
#define GB(a) ((u64)(a) << 30ULL)
+#define I8_MAX (0x0000007FL)
#define I32_MAX (0x7FFFFFFFL)
+#define U8_MAX (0x000000FFUL)
#define U16_MAX (0x0000FFFFUL)
#define U32_MAX (0xFFFFFFFFUL)
#define U64_MAX (0xFFFFFFFFFFFFFFFFULL)
@@ -168,6 +170,7 @@
typedef char c8;
typedef uint8_t u8;
+typedef int8_t i8;
typedef int16_t i16;
typedef uint16_t u16;
typedef uint16_t b16;