Changeset 46087 in vbox
- Timestamp:
- May 15, 2013 9:30:56 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/ldr/ldrMemory.cpp
r46084 r46087 225 225 PFNRTLDRRDRMEMREAD pfnRead, PFNRTLDRRDRMEMDTOR pfnDtor, void *pvUser) 226 226 { 227 AssertReturn(sizeof(cbImage) < sizeof(RTFOFF) || cbImage < RTFOFF_MAX, VERR_INVALID_PARAMETER); 227 #if ARCH_BITS > 32 /* 'ing gcc. */ 228 AssertReturn(cbImage < RTFOFF_MAX, VERR_INVALID_PARAMETER); 229 #endif 228 230 AssertReturn((RTFOFF)cbImage > 0, VERR_INVALID_PARAMETER); 229 231 … … 299 301 * Create file reader & invoke worker which identifies and calls the image interpreter. 300 302 */ 301 PRTLDRREADER pReader ;303 PRTLDRREADER pReader = NULL; /* gcc may be wrong */ 302 304 int rc = rtldrRdrMem_Create(&pReader, pszName, cbImage, pfnRead, pfnDtor, pvUser); 303 305 if (RT_SUCCESS(rc))
Note:
See TracChangeset
for help on using the changeset viewer.