diff --git a/src/base.c b/src/base.c index 65091a5..6fba0ea 100644 --- a/src/base.c +++ b/src/base.c @@ -36,6 +36,10 @@ typedef uintptr_t uintptr; typedef size_t usize; typedef ptrdiff_t ssize; +typedef int64_t sint; +typedef uint64_t uint; + + // Thanks AZMR #define cast(to_type, expr) ((to_type)(expr)) #define chkcast(to_type, from_type, expr) _Generic(expr, from_type: (to_type)(expr))