From: Vadim Zeitlin Date: Mon, 7 Jan 2002 15:24:41 +0000 (+0000) Subject: don't assign string literals to a char * variable X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/08a9473bbff9a22abe0afe866a693bf114b7c42f don't assign string literals to a char * variable git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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) {