X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/86b3203fb156247bae38d7c67a3a00fe27c5db11..c3f4609ebb56f76065c28352d8db37f65a6fa35e:/src/common/memory.cpp?ds=sidebyside diff --git a/src/common/memory.cpp b/src/common/memory.cpp index 5b93f2b37c..afac3b1f74 100644 --- a/src/common/memory.cpp +++ b/src/common/memory.cpp @@ -783,7 +783,7 @@ bool wxDebugContext::PrintStatistics(bool detailed) { wxObject *obj = (wxObject *)st->GetActualData(); if (obj->GetClassInfo()->GetClassName()) - className = obj->GetClassInfo()->GetClassName(); + className = (wxChar*)obj->GetClassInfo()->GetClassName(); } wxDebugStatsStruct *stats = FindStatsStruct(list, className); if (!stats)