From: Vadim Zeitlin Date: Mon, 10 Sep 2007 14:22:43 +0000 (+0000) Subject: fix a warning about casting literal string constants to non-const char * X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5681ec3dfd17cd48b8a9e863a41407e5149ec605?ds=inline fix a warning about casting literal string constants to non-const char * git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/stc/scintilla/src/LexNsis.cxx b/src/stc/scintilla/src/LexNsis.cxx index 6a7274ef59..e6f12dd943 100644 --- a/src/stc/scintilla/src/LexNsis.cxx +++ b/src/stc/scintilla/src/LexNsis.cxx @@ -94,7 +94,7 @@ static bool NsisNextLineHasElse(unsigned int start, unsigned int end, Accessor & return false; } -static int NsisCmp( char *s1, char *s2, bool bIgnoreCase ) +static int NsisCmp( const char *s1, const char *s2, bool bIgnoreCase ) { if( bIgnoreCase ) return CompareCaseInsensitive( s1, s2);