diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 36f315cc..0276295d 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -2573,7 +2573,7 @@ void Profiler::SendCallstack( int depth, const char* skipBefore ) CutCallstack( ptr, skipBefore ); TracyLfqPrepare( QueueType::Callstack ); - MemWrite( &item->callstack.ptr, ptr ); + MemWrite( &item->callstack.ptr, (uint64_t)ptr ); TracyLfqCommit; #endif } diff --git a/client/TracyProfiler.hpp b/client/TracyProfiler.hpp index 4d29e2e2..50a303e1 100644 --- a/client/TracyProfiler.hpp +++ b/client/TracyProfiler.hpp @@ -413,7 +413,7 @@ public: #ifdef TRACY_HAS_CALLSTACK auto ptr = Callstack( depth ); TracyLfqPrepare( QueueType::Callstack ); - MemWrite( &item->callstack.ptr, ptr ); + MemWrite( &item->callstack.ptr, (uint64_t)ptr ); TracyLfqCommit; #endif }