From ba93050186b8c23adea52a70c84564059ceab043 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') 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