Skip to content

Commit 6d87107

Browse files
committed
Result of strcmp() is a signed int. Per bug report
from Paul McGarry.
1 parent cdeca5f commit 6d87107

File tree

1 file changed

+1
-1
lines changed
  • contrib/fulltextindex

1 file changed

+1
-1
lines changed

contrib/fulltextindex/fti.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ is_stopword(char *text)
346346
char **StopLow; /* for list of stop-words */
347347
char **StopHigh;
348348
char **StopMiddle;
349-
unsigned int difference;
349+
int difference;
350350

351351
StopLow = &StopWords[0]; /* initialize stuff for binary search */
352352
StopHigh = endof(StopWords);

0 commit comments

Comments
 (0)