From f41794f988b72fd4d7ac905f939ff868ba94e991 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 25 Jul 2013 17:43:00 +1000 Subject: Minor changes to avoid warnings from Coverity. --- lexlib/WordList.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lexlib/WordList.cxx') diff --git a/lexlib/WordList.cxx b/lexlib/WordList.cxx index 982d520d6..51d68a659 100644 --- a/lexlib/WordList.cxx +++ b/lexlib/WordList.cxx @@ -103,7 +103,7 @@ void WordList::Clear() { #ifdef _MSC_VER static bool cmpWords(const char *a, const char *b) { - return strcmp(a, b) == -1; + return strcmp(a, b) < 0; } #else -- cgit v1.2.3