diff --git a/src/generic/dcpsg.cpp b/src/generic/dcpsg.cpp index 7468a61881..6443e193ed 100644 --- a/src/generic/dcpsg.cpp +++ b/src/generic/dcpsg.cpp @@ -1957,7 +1957,7 @@ void wxPostScriptDC::DoGetTextExtent(const wxString& string, lastStyle = Style; lastWeight = Weight; - char *name = (char*) NULL; + const char *name = NULL; switch (Family) {