From abe5726aff7744e67c81f8dd6a2116dab0ec9a53 Mon Sep 17 00:00:00 2001 From: David Webster Date: Fri, 20 Apr 2001 13:00:39 +0000 Subject: [PATCH] Const casting fix for Vis C. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.45.2