X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2Finclude%2Fstdint.h;h=0e44f142f174e4685544f09a98ccc8f096e8e4a6;hb=7d76ac580a19c897ea849d4bc684068ab1fdc6f3;hp=f2707aa49e0150786654c8537e3b1c41f1cf6c06;hpb=11686aa86bc0adae2555aa7796fe229770bb02f7;p=tpg%2Facess2.git diff --git a/Usermode/include/stdint.h b/Usermode/include/stdint.h index f2707aa4..0e44f142 100644 --- a/Usermode/include/stdint.h +++ b/Usermode/include/stdint.h @@ -14,11 +14,14 @@ typedef signed int int32_t; typedef signed long long int64_t; #if ARCHDIR_is_x86 -typedef uint32_t intptr_t; +typedef int32_t intptr_t; typedef uint32_t uintptr_t; #elif ARCHDIR_is_x86_64 -typedef uint64_t intptr_t; +typedef int64_t intptr_t; typedef uint64_t uintptr_t; +#elif ARCHDIR_is_armv7 +typedef int32_t intptr_t; +typedef uint32_t uintptr_t; #else # error "Unknown pointer size" #endif