Changeset 62448 in vbox for trunk/src/VBox/Runtime/common/ldr/ldrELFRelocatable.cpp.h
- Timestamp:
- Jul 22, 2016 2:51:49 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/ldr/ldrELFRelocatable.cpp.h
r60450 r62448 241 241 const char *pszName = ELF_STR(pModElf, pSym->st_name); 242 242 RTUINTPTR ExtValue; 243 int rc = pfnGetImport(&pModElf->Core, "", pszName, ~0 , &ExtValue, pvUser);243 int rc = pfnGetImport(&pModElf->Core, "", pszName, ~0U, &ExtValue, pvUser); 244 244 AssertMsgRCReturn(rc, ("Failed to resolve '%s' rc=%Rrc\n", pszName, rc), rc); 245 245 SymValue = (Elf_Addr)ExtValue; … … 445 445 /* Try to resolve the symbol. */ 446 446 RTUINTPTR Value; 447 int rc = pfnGetImport(&pModElf->Core, "", pszName, ~0 , &Value, pvUser);447 int rc = pfnGetImport(&pModElf->Core, "", pszName, ~0U, &Value, pvUser); 448 448 if (RT_FAILURE(rc)) 449 449 { … … 747 747 */ 748 748 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); 750 750 if (rc) 751 751 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.