Changeset 24958 in vbox
- Timestamp:
- Nov 25, 2009 3:02:04 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 55256
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/VBox/Runtime/r3/alloc.cpp ¶
r11019 r24958 102 102 AssertMsg(cb, ("Allocating ZERO bytes is really not a good idea! Good luck with the next assertion!\n")); 103 103 void *pv = malloc(cb); 104 AssertMsg(pv, ("malloc(% d) failed!!!\n", cb));104 AssertMsg(pv, ("malloc(%#zx) failed!!!\n", cb)); 105 105 #ifdef RT_OS_OS2 /* temporary workaround until libc062. */ 106 106 AssertMsg( cb < 32 … … 136 136 137 137 void *pv = calloc(1, cb); 138 AssertMsg(pv, ("calloc(1,% d) failed!!!\n", cb));138 AssertMsg(pv, ("calloc(1,%#zx) failed!!!\n", cb)); 139 139 #ifdef RT_OS_OS2 /* temporary workaround until libc062. */ 140 140 AssertMsg( cb < 32 … … 165 165 166 166 void *pv = realloc(pvOld, cbNew); 167 AssertMsg(pv && cbNew, ("realloc(%p, % d) failed!!!\n", pvOld, cbNew));167 AssertMsg(pv && cbNew, ("realloc(%p, %#zx) failed!!!\n", pvOld, cbNew)); 168 168 #ifdef RT_OS_OS2 /* temporary workaround until libc062. */ 169 169 AssertMsg( cbNew < 32
Note:
See TracChangeset
for help on using the changeset viewer.