X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c9642b54de6f711a921de76303b06ecdec36ebb..6dd18972d509fce16afa05eba194ca21db2c48f3:/src/common/fileconf.cpp?ds=sidebyside

diff --git a/src/common/fileconf.cpp b/src/common/fileconf.cpp
index af4fd10b06..f2118e743e 100644
--- a/src/common/fileconf.cpp
+++ b/src/common/fileconf.cpp
@@ -2031,7 +2031,7 @@ static wxString FilterOutEntryName(const wxString& str)
     //     should *not* be quoted
     if ( 
 #if !wxUSE_UNICODE
-            (c < 127) &&
+            ((unsigned char)c < 127) &&
 #endif // ANSI
          !wxIsalnum(c) && !wxStrchr(wxT("@_/-!.*%"), c) )
     {