From 11d0bb4236b3cc7b4b2da1abffc0d454b5613a06 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 15 Jun 2008 09:19:54 +0000 Subject: const safety --- src/LexNsis.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/LexNsis.cxx b/src/LexNsis.cxx index 93f0cd4d6..ab6304c42 100644 --- a/src/LexNsis.cxx +++ b/src/LexNsis.cxx @@ -98,7 +98,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); -- cgit v1.2.3