OSDN Git Service

Result of strcmp() is a signed int. Per bug report
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 4 Jul 2000 06:20:14 +0000 (06:20 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 4 Jul 2000 06:20:14 +0000 (06:20 +0000)
from Paul McGarry.

contrib/fulltextindex/fti.c

index aa5f066..be45223 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);