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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy