Changeset 1100


Ignore:
Timestamp:
Jan 29, 2004, 5:19:08 AM (22 years ago)
Author:
bird
Message:

Fixed trace output.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/src/emxomf/weakld.c

    • Property cvs2svn:cvs-rev changed from 1.24 to 1.25
    r1099 r1100  
    670670    /* position us */
    671671    if (fseek(phFile, pLib->LibHdr.offDict, SEEK_SET))
    672         return libErr(pLib, "Failed to seek to extended dictionary (offset %d).", pLib->LibHdr.offDict);
     672        return libErr(pLib, "Failed to seek to extended dictionary (offset %d).", (int)pLib->LibHdr.offDict);
    673673
    674674    /* read it */
     
    956956                if (rc)
    957957                {
    958                     libErr(pLib, "Failed when reading module at offset %x.", offCurMod);
     958                    libErr(pLib, "Failed when reading module at offset %x.", (int)offCurMod);
    959959                    return rc;
    960960                }
     
    11001100        if (fseek(pMod->phFile, pMod->off, SEEK_SET))
    11011101        {
    1102             modErr(pMod, "failed to seek to module start (%#x).", pMod->off);
     1102            modErr(pMod, "failed to seek to module start (%#x).", (int)pMod->off);
    11031103            modClose(pMod);
    11041104            return NULL;
     
    22102210        if (fread(&OmfRec, sizeof(OmfRec), 1, phFile) != 1)
    22112211        {
    2212             modErr(pMod, "read error. (offset ~= %#x).", ftell(phFile));
     2212            modErr(pMod, "read error. (offset ~= %#x).", (int)ftell(phFile));
    22132213            goto failure;
    22142214        }
     
    22182218            if (OmfRec.chType != THEADR)
    22192219            {
    2220                 modErr(pMod, "invalid object module (offset %#x).", pMod->off);
     2220                modErr(pMod, "invalid object module (offset %#x).", (int)pMod->off);
    22212221                goto failure;
    22222222            }
     
    22612261                /* Put out some /INFO stuff similar to ilink. */
    22622262                if (pMod->pLib)
    2263                     WLDINFO(pWld, ("Reading @0x%08x %s(%s)", pMod->off, pMod->pLib->pszLibName, pMod->pszModName));
     2263                    WLDINFO(pWld, ("Reading @0x%08x %s(%s)", (int)pMod->off, pMod->pLib->pszLibName, pMod->pszModName));
    22642264                else
    2265                     WLDINFO(pWld, ("Reading @0x%08x %s", pMod->off, pMod->pszModName));
     2265                    WLDINFO(pWld, ("Reading @0x%08x %s", (int)pMod->off, pMod->pszModName));
    22662266                break;
    22672267            }
Note: See TracChangeset for help on using the changeset viewer.