Changeset 95971 in vbox
- Timestamp:
- Aug 1, 2022 8:04:43 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/alloc.cpp
r93115 r95971 240 240 241 241 #else /* !RTALLOC_USE_EFENCE */ 242 # ifdef RT_STRICT 243 const uintptr_t uOld = (uintptr_t)pvOld; /* overzealous gcc 12 complains it's used over realloc */ 244 # endif 242 245 243 246 # ifdef RTMEMALLOC_USE_TRACKER … … 249 252 void *pv = realloc(pvOld, cbNew); NOREF(pszTag); 250 253 # endif 251 AssertMsg(pv || !cbNew, ("realloc(%p, %#zx) failed!!!\n", pvOld, cbNew));254 AssertMsg(pv || !cbNew, ("realloc(%p, %#zx) failed!!!\n", uOld, cbNew)); 252 255 AssertMsg( cbNew < RTMEM_ALIGNMENT 253 256 || !((uintptr_t)pv & (RTMEM_ALIGNMENT - 1))
Note:
See TracChangeset
for help on using the changeset viewer.