Use a more reliable signed 64-bit type than "long"
This commit is contained in:
parent
88f588a0c5
commit
9934719f6b
@ -10,7 +10,7 @@ typedef int16_t i16;
|
|||||||
typedef int32_t i32;
|
typedef int32_t i32;
|
||||||
typedef int64_t i64;
|
typedef int64_t i64;
|
||||||
typedef size_t usize;
|
typedef size_t usize;
|
||||||
typedef long isize;
|
typedef int64_t isize;
|
||||||
|
|
||||||
static_assert(sizeof(u8) == 1UL);
|
static_assert(sizeof(u8) == 1UL);
|
||||||
static_assert(sizeof(u16) == 2UL);
|
static_assert(sizeof(u16) == 2UL);
|
||||||
|
Loading…
Reference in New Issue
Block a user