|
@@ -200,10 +200,10 @@ namespace nv
|
|
if (reinterpret_cast<uint64>(ptr) < 0x10000ULL) return false;
|
|
if (reinterpret_cast<uint64>(ptr) < 0x10000ULL) return false;
|
|
if (reinterpret_cast<uint64>(ptr) >= 0x000007FFFFFEFFFFULL) return false;
|
|
if (reinterpret_cast<uint64>(ptr) >= 0x000007FFFFFEFFFFULL) return false;
|
|
#else
|
|
#else
|
|
- if (reinterpret_cast<uint32>(ptr) == 0xcccccccc) return false;
|
|
|
|
- if (reinterpret_cast<uint32>(ptr) == 0xcdcdcdcd) return false;
|
|
|
|
- if (reinterpret_cast<uint32>(ptr) == 0xdddddddd) return false;
|
|
|
|
- if (reinterpret_cast<uint32>(ptr) == 0xffffffff) return false;
|
|
|
|
|
|
+ if (reinterpret_cast<uintptr_t>(ptr) == 0xcccccccc) return false;
|
|
|
|
+ if (reinterpret_cast<uintptr_t>(ptr) == 0xcdcdcdcd) return false;
|
|
|
|
+ if (reinterpret_cast<uintptr_t>(ptr) == 0xdddddddd) return false;
|
|
|
|
+ if (reinterpret_cast<uintptr_t>(ptr) == 0xffffffff) return false;
|
|
#endif
|
|
#endif
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|