vbox的更動 24958 路徑 trunk/src/VBox/Runtime/r3/alloc.cpp
- 時間撮記:
- 2009-11-25 下午03:02:04 (15 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
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
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器