summaryrefslogtreecommitdiff
path: root/thirdparty/thekla_atlas/nvcore
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-03-21 17:40:20 +0100
committerGitHub <noreply@github.com>2018-03-21 17:40:20 +0100
commitbb69dfca17913faf3972fc5cb53f332767c7ae20 (patch)
treeb34a2983069cf74c9ef139ef57aa532e969e655e /thirdparty/thekla_atlas/nvcore
parentbaa092e99dc0dcf39362c4ce7086ea92095f9224 (diff)
parentcd63e699ca113ce2a45c3437c5430a06d51adf4d (diff)
Merge pull request #17658 from bkeys/update_thekla
Updated thekla_atlas to support arm64
Diffstat (limited to 'thirdparty/thekla_atlas/nvcore')
-rw-r--r--thirdparty/thekla_atlas/nvcore/Debug.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/thirdparty/thekla_atlas/nvcore/Debug.h b/thirdparty/thekla_atlas/nvcore/Debug.h
index f37a05c453..3804ed4763 100644
--- a/thirdparty/thekla_atlas/nvcore/Debug.h
+++ b/thirdparty/thekla_atlas/nvcore/Debug.h
@@ -200,10 +200,10 @@ namespace nv
if (reinterpret_cast<uint64>(ptr) < 0x10000ULL) return false;
if (reinterpret_cast<uint64>(ptr) >= 0x000007FFFFFEFFFFULL) return false;
#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
return true;
}