Use a more reliable signed 64-bit type than "long"

This commit is contained in:
apio 2022-11-23 18:05:01 +01:00
parent 88f588a0c5
commit 9934719f6b

View File

@ -10,7 +10,7 @@ typedef int16_t i16;
typedef int32_t i32;
typedef int64_t i64;
typedef size_t usize;
typedef long isize;
typedef int64_t isize;
static_assert(sizeof(u8) == 1UL);
static_assert(sizeof(u16) == 2UL);