Display proper hex value.

This commit is contained in:
Bartosz Taudul 2018-04-01 22:00:57 +02:00
parent 3f7abd478e
commit 8efc0a0a71

View File

@ -3732,11 +3732,11 @@ void View::DrawMemory()
{ {
if( v->ptr == m_memInfo.ptrFind ) if( v->ptr == m_memInfo.ptrFind )
{ {
ImGui::Text( "0x%08x", m_memInfo.ptrFind ); ImGui::Text( "0x%" PRIx64, m_memInfo.ptrFind );
} }
else 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::NextColumn();
ImGui::Text( "%s", RealToString( v->size, true ) ); ImGui::Text( "%s", RealToString( v->size, true ) );