1 --- src/core/CLucene/index/DocumentsWriterThreadState.cpp.orig 2011-03-16 20:21:07.000000000 -0400 2 +++ src/core/CLucene/index/DocumentsWriterThreadState.cpp 2014-06-24 18:37:18.000000000 -0400 3 @@ -994,7 +994,7 @@ 4 const TCHAR* tokenText = token->termBuffer(); 5 const int32_t tokenTextLen = token->termLength(); 6 7 - int32_t code = 0; 8 + uint32_t code = 0; 9 10 // Compute hashcode 11 int32_t downto = tokenTextLen; 12 @@ -1203,7 +1203,8 @@ 13 const int32_t newMask = newSize-1; 14 15 ValueArray<Posting*> newHash(newSize); 16 - int32_t hashPos, code; 17 + int32_t hashPos; 18 + uint32_t code; 19 const TCHAR* pos = NULL; 20 const TCHAR* start = NULL; 21 Posting* p0; 22