Ignore:
Timestamp:
Oct 21, 2011, 5:13:04 PM (14 years ago)
Author:
dmik
Message:

Common compiler warnings and errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/src/kernel32/winimagepe2lx.cpp

    r10397 r21732  
    440440                           + strlen((char*)pLrec->pName) + 1    /* size of the filename */
    441441                           + 3) & ~3));                          /* the size is align on 4 bytes boundrary */
     442#ifdef __INNOTEK_LIBC__
     443                    pLrec->pNextRec = (void **)(qsLrec_t*)((char*)pLrec->pObjInfo
     444                                                   + sizeof(qsLObjrec_t) * pLrec->ctObj);
     445#else
    442446                    pLrec->pNextRec = (qsLrec_t*)((char*)pLrec->pObjInfo
    443447                                                   + sizeof(qsLObjrec_t) * pLrec->ctObj);
     448#endif
    444449                    }
    445450                if (pLrec->hmte == hmod)
     
    549554
    550555            /* loop thru the PE sections */
    551             for (int i = 0; i < pNtHdrs->FileHeader.NumberOfSections; i++)
     556            int i;
     557            for (i = 0; i < pNtHdrs->FileHeader.NumberOfSections; i++)
    552558            {
    553559                if (paSections[0].cbVirtual < paPESections[i].VirtualAddress)
Note: See TracChangeset for help on using the changeset viewer.