From 8efc0a0a7122fb713bcfad5aa851c9064312ee8e Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 1 Apr 2018 22:00:57 +0200 Subject: [PATCH] Display proper hex value. --- server/TracyView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 21596ba5..d145da72 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -3732,11 +3732,11 @@ void View::DrawMemory() { if( v->ptr == m_memInfo.ptrFind ) { - ImGui::Text( "0x%08x", m_memInfo.ptrFind ); + ImGui::Text( "0x%" PRIx64, m_memInfo.ptrFind ); } else { - ImGui::Text( "0x%08x+%" PRIu64, v->ptr, m_memInfo.ptrFind - v->ptr ); + ImGui::Text( "0x%" PRIx64 "+%" PRIu64, v->ptr, m_memInfo.ptrFind - v->ptr ); } ImGui::NextColumn(); ImGui::Text( "%s", RealToString( v->size, true ) );