Ignore:
Timestamp:
Dec 18, 2011, 10:28:22 PM (14 years ago)
Author:
dmik
Message:

Merge branch gcc-kmk to trunk.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        1 bin
        2 Makefile.inc
         1env.cmd
         2LocalConfig.kmk
    • Property svn:mergeinfo set to
      /branches/gcc-kmkmergedeligible
  • trunk/src/kernel32/winimagepe2lx.cpp

    r10397 r21916  
    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.