Ignore:
Timestamp:
Dec 24, 2006, 4:10:53 AM (19 years ago)
Author:
bird
Message:

Made it build on windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kLdr/kLdrModNative.c

    r2893 r2898  
    644644        for (iName = 0; iName < cNames; iName++)
    645645        {
     646            const char *pszName;
    646647            if (paOrdinals[iName] != iFunction)
    647648                continue;
    648649            fFoundName = 1;
    649             rc = pfnCallback(pMod, iFunction + pExpDir->Base,
    650                              KLDRMODNATIVE_RVA2TYPE(pModNative->hmod, paRVANames[iName], const char *),
     650
     651            pszName = KLDRMODNATIVE_RVA2TYPE(pModNative->hmod, paRVANames[iName], const char *);
     652            rc = pfnCallback(pMod, iFunction + pExpDir->Base, pszName, strlen(pszName), NULL,
    651653                             uValue, fKind, pvUser);
    652654            if (rc)
     
    659661        if (!fFoundName)
    660662        {
    661             rc = pfnCallback(pMod, iFunction + pExpDir->Base, NULL, uValue, fKind, pvUser);
     663            rc = pfnCallback(pMod, iFunction + pExpDir->Base, NULL, 0, NULL, uValue, fKind, pvUser);
    662664            if (rc)
    663665                return rc;
Note: See TracChangeset for help on using the changeset viewer.