From 519de693ec4b455e042ebfd823443ac62224e270 Mon Sep 17 00:00:00 2001 From: Lucas Schumacher Date: Thu, 24 Apr 2025 22:37:47 -0400 Subject: [PATCH] Fix 64bit ints on mips --- int.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/int.h b/int.h index c45e937..a31e7e5 100644 --- a/int.h +++ b/int.h @@ -7,17 +7,17 @@ typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; -typedef unsigned long uint64_t; +typedef unsigned long long uint64_t; typedef char int8_t; typedef short int16_t; typedef int int32_t; -typedef long int64_t; +typedef long long int64_t; #if __WORDSIZE == 64 -typedef long intptr_t; -typedef unsigned long uintptr_t; +typedef int64_t intptr_t; +typedef uint64_t uintptr_t; #elif __WORDSIZE == 32 -typedef int intptr_t; -typedef unsigned int uintptr_t; +typedef int32_t intptr_t; +typedef uint32_t uintptr_t; #endif