Result of strcmp() is a signed int. Per bug report
authorTom Lane
Tue, 4 Jul 2000 06:20:14 +0000 (06:20 +0000)
committerTom Lane
Tue, 4 Jul 2000 06:20:14 +0000 (06:20 +0000)
from Paul McGarry.

contrib/fulltextindex/fti.c

index aa5f066897c5113851ebfd3bf488ca29e6102b01..be4522321d7a2149f0148f46dbcaec394929d970 100644 (file)
@@ -346,7 +346,7 @@ is_stopword(char *text)
    char      **StopLow;        /* for list of stop-words */
    char      **StopHigh;
    char      **StopMiddle;
-   unsigned int difference;
+   int         difference;
 
    StopLow = &StopWords[0];    /* initialize stuff for binary search */
    StopHigh = endof(StopWords);