VirtualBox

Ignore:
Timestamp:
Jul 22, 2016 2:51:49 PM (8 years ago)
Author:
vboxsync
Message:

IPRT: More MSC level 4 warning fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/ldr/ldrELFRelocatable.cpp.h

    r60450 r62448  
    241241            const char *pszName = ELF_STR(pModElf, pSym->st_name);
    242242            RTUINTPTR   ExtValue;
    243             int rc = pfnGetImport(&pModElf->Core, "", pszName, ~0, &ExtValue, pvUser);
     243            int rc = pfnGetImport(&pModElf->Core, "", pszName, ~0U, &ExtValue, pvUser);
    244244            AssertMsgRCReturn(rc, ("Failed to resolve '%s' rc=%Rrc\n", pszName, rc), rc);
    245245            SymValue = (Elf_Addr)ExtValue;
     
    445445            /* Try to resolve the symbol. */
    446446            RTUINTPTR Value;
    447             int rc = pfnGetImport(&pModElf->Core, "", pszName, ~0, &Value, pvUser);
     447            int rc = pfnGetImport(&pModElf->Core, "", pszName, ~0U, &Value, pvUser);
    448448            if (RT_FAILURE(rc))
    449449            {
     
    747747                 */
    748748                AssertMsgReturn(Value == (RTUINTPTR)Value, (FMT_ELF_ADDR "\n", Value), VERR_SYMBOL_VALUE_TOO_BIG);
    749                 rc = pfnCallback(pMod, pszName, ~0, (RTUINTPTR)Value, pvUser);
     749                rc = pfnCallback(pMod, pszName, ~0U, (RTUINTPTR)Value, pvUser);
    750750                if (rc)
    751751                    return rc;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette