diff --git a/inc/crn_decomp.h b/inc/crn_decomp.h index 4d81928..50b63db 100644 --- a/inc/crn_decomp.h +++ b/inc/crn_decomp.h @@ -377,7 +377,11 @@ namespace crnd #ifdef _WIN64 typedef uint64 ptr_bits; #else - typedef uint32 ptr_bits; + #ifdef __x86_64__ + typedef uint64 ptr_bits; + #else + typedef uint32 ptr_bits; + #endif #endif template struct int_traits { enum { cMin = crnd::cINT32_MIN, cMax = crnd::cINT32_MAX, cSigned = true }; };