diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-03-18 23:39:10 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-03-19 11:34:06 +0100 |
commit | 45dc1c2a3d8a95ddc8cc115a5e41fa0afbc82208 (patch) | |
tree | 15689707e2cc1e405a7433d34e42de3f891bd01a /i386/include | |
parent | ebd25e44eedf683551f0914137ff0f4f0a1a1858 (diff) |
Use unsigned int for ELF 32bit values
* i386/include/mach/i386/exec/elf.h (Elf32_Addr, Elf32_Off, Elf32_Sword,
Elf32_Word): Use int type instead of long.
Diffstat (limited to 'i386/include')
-rw-r--r-- | i386/include/mach/i386/exec/elf.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/i386/include/mach/i386/exec/elf.h b/i386/include/mach/i386/exec/elf.h index 5155b3d..cfa988d 100644 --- a/i386/include/mach/i386/exec/elf.h +++ b/i386/include/mach/i386/exec/elf.h @@ -23,11 +23,11 @@ #ifndef _MACH_I386_EXEC_ELF_H_ #define _MACH_I386_EXEC_ELF_H_ -typedef unsigned long Elf32_Addr; +typedef unsigned int Elf32_Addr; typedef unsigned short Elf32_Half; -typedef unsigned long Elf32_Off; -typedef signed long Elf32_Sword; -typedef unsigned long Elf32_Word; +typedef unsigned int Elf32_Off; +typedef signed int Elf32_Sword; +typedef unsigned int Elf32_Word; /* Architecture identification parameters for i386. */ #define MY_EI_DATA ELFDATA2LSB |