Changeset 36969 in vbox
- Timestamp:
- May 5, 2011 8:59:43 AM (14 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/ldr/ldrPE.cpp
r36912 r36969 316 316 ~0, &Value, pvUser); 317 317 Log4((RT_SUCCESS(rc) ? "RTLdrPE: %RTptr %s\n" : "RTLdrPE: %08RX32 %s rc=%Rrc\n", 318 (uint32_t)Value, PE_RVA2TYPE(pvBitsR, (char*) pThunk->u1.AddressOfData + 2, const char *), rc));318 (uint32_t)Value, PE_RVA2TYPE(pvBitsR, (char*)(uintptr_t)pThunk->u1.AddressOfData + 2, const char *), rc)); 319 319 } 320 320 else -
trunk/src/VBox/VMM/VMMR3/CSAM.cpp
r36912 r36969 1984 1984 PCSAMPAGEREC pPageRec; 1985 1985 1986 pPageRec = (PCSAMPAGEREC)RTAvlPVGet(&pVM->csam.s.pPageTree, (AVLPVKEY) pPageAddrGC);1986 pPageRec = (PCSAMPAGEREC)RTAvlPVGet(&pVM->csam.s.pPageTree, (AVLPVKEY)(uintptr_t)pPageAddrGC); 1987 1987 Assert(pPageRec && pPageRec->page.enmTag == enmTag); 1988 1988 #endif -
trunk/src/VBox/VMM/VMMR3/PATM.cpp
r36912 r36969 2013 2013 pRec = (PAVLPVNODECORE)MMR3HeapAllocZ(pVM, MM_TAG_PATM_PATCH, sizeof(*pRec)); 2014 2014 Assert(pRec); 2015 pRec->Key = (AVLPVKEY) pInstrGC;2015 pRec->Key = (AVLPVKEY)(uintptr_t)pInstrGC; 2016 2016 2017 2017 int ret = RTAvlPVInsert(&pPatch->pTempInfo->DisasmJumpTree, pRec); … … 2031 2031 PAVLPVNODECORE pRec; 2032 2032 2033 pRec = RTAvlPVGet(&pPatch->pTempInfo->DisasmJumpTree, (AVLPVKEY) pInstrGC);2033 pRec = RTAvlPVGet(&pPatch->pTempInfo->DisasmJumpTree, (AVLPVKEY)(uintptr_t)pInstrGC); 2034 2034 if (pRec) 2035 2035 return true;
Note:
See TracChangeset
for help on using the changeset viewer.