mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-03 22:44:30 +00:00
Use long
over int
for s32/u32 types (#1546)
* long s32 * Suggested changes
This commit is contained in:
parent
b3486b57ef
commit
a20163c6ab
21 changed files with 66 additions and 62 deletions
|
@ -3,7 +3,11 @@
|
|||
|
||||
#define NULL ((void*)0)
|
||||
|
||||
#if defined(_MIPS_SZLONG) && (_MIPS_SZLONG == 64)
|
||||
typedef unsigned long size_t;
|
||||
#else
|
||||
typedef unsigned int size_t;
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define offsetof(structure, member) __builtin_offsetof (structure, member)
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#ifndef STDINT_H
|
||||
#define STDINT_H
|
||||
|
||||
typedef signed int intptr_t;
|
||||
typedef unsigned int uintptr_t;
|
||||
typedef signed long intptr_t;
|
||||
typedef unsigned long uintptr_t;
|
||||
|
||||
#define INT8_MIN (-0x80)
|
||||
#define INT16_MIN (-0x8000)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue