Ignore:
Timestamp:
2011-02-15T13:12:21+13:00 (13 years ago)
Author:
sjm84
Message:

A few more fixes for 64-bit mgpp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/branches/64_bit_Greenstone/greenstone2/common-src/indexers/mgpp/text/GSDLQueryParser.cpp

    r23508 r23701  
    140140}
    141141
    142 static u_long GetStemMethod(LexEl &el, int defaultStemMethod) {
     142static mg_u_long GetStemMethod(LexEl &el, int defaultStemMethod) {
    143143  // here expect el to contain some of c,s,i,u,f,a -- see mg_files.h CHAR_FLAG_STEM_* constants
    144   u_long stem = (u_long)defaultStemMethod;
     144  mg_u_long stem = (mg_u_long)defaultStemMethod;
    145145     
    146146  UCArray::const_iterator here = el.text.begin();
     
    205205    if (termNode.stemMethod == STEM_INVALID) { // error so backtrack
    206206      here = oldHere;
    207       termNode.stemMethod = (u_long)defaultStemMethod;
     207      termNode.stemMethod = (mg_u_long)defaultStemMethod;
    208208    }
    209209      } else here = oldHere; //ignore - wrong syntax
Note: See TracChangeset for help on using the changeset viewer.