Ignore:
Timestamp:
Oct 19, 2011, 11:00:18 PM (14 years ago)
Author:
dmik
Message:

strcmpi -> stricmp.

The former is deprecated since long and missing in GCC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/src/pe2lx/lx.cpp

    r21692 r21726  
    152152                       cvtname(NULL), curcvtname(0), nrcvtnames(0), datapage(NULL),
    153153                       cvtnametableid(0), orgrestableid(0), orgrestable(NULL), nrorgres(0),
    154                        kernel32Object(-1), fConsole(FALSE), 
     154                       kernel32Object(-1), fConsole(FALSE),
    155155                       tlsAddress(0), tlsIndexAddr(0), tlsInitSize(0), tlsTotalSize(0), tlsCallBackAddr(0),
    156156                       VersionResourceId(-1), impnamesize(0), impmodulesize(0)
     
    581581  AddOff32Fixup(PESection[0].address + EXE_OFF_TIB_CALLBACK_ADDR, TRUE);
    582582
    583   return; 
     583  return;
    584584}
    585585//******************************************************************************
     
    15401540
    15411541  for(i=0;i<nrcvtnames;i++) {//check if this name is already converted
    1542         if(strcmpi(name, resname->name) == 0)
     1542        if(stricmp(name, resname->name) == 0)
    15431543                return(resname->id);
    15441544        resname = (NameId *)((int)resname + sizeof(NameId) + strlen(resname->name));
Note: See TracChangeset for help on using the changeset viewer.