Commit 6d87107b authored by Tom Lane's avatar Tom Lane

Result of strcmp() is a signed int. Per bug report

from Paul McGarry.
parent cdeca5f5
...@@ -346,7 +346,7 @@ is_stopword(char *text) ...@@ -346,7 +346,7 @@ is_stopword(char *text)
char **StopLow; /* for list of stop-words */ char **StopLow; /* for list of stop-words */
char **StopHigh; char **StopHigh;
char **StopMiddle; char **StopMiddle;
unsigned int difference; int difference;
StopLow = &StopWords[0]; /* initialize stuff for binary search */ StopLow = &StopWords[0]; /* initialize stuff for binary search */
StopHigh = endof(StopWords); StopHigh = endof(StopWords);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment