Changeset 297 for branches/branch-1-0/src/helpers/memdebug.c
- Timestamp:
- Oct 9, 2005, 3:11:51 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1-0/src/helpers/memdebug.c
r222 r297 199 199 } 200 200 else 201 return (!DosRequestMutexSem(G_hmtxMallocList,202 SEM_INDEFINITE_WAIT));203 204 return (FALSE);201 return !DosRequestMutexSem(G_hmtxMallocList, 202 SEM_INDEFINITE_WAIT); 203 204 return FALSE; 205 205 } 206 206 … … 246 246 STATIC PHEAPITEM FindHeapItem(void *p) 247 247 { 248 return ( (PHEAPITEM)treeFind(G_pHeapItemsRoot,249 250 treeCompareKeys));248 return (PHEAPITEM)treeFind(G_pHeapItemsRoot, 249 (ULONG)p, 250 treeCompareKeys); 251 251 } 252 252 … … 417 417 } 418 418 419 return (prc);419 return prc; 420 420 } 421 421 … … 440 440 pcszFunction); 441 441 memset(p, 0, num * stSize); 442 return (p);442 return p; 443 443 } 444 444 … … 547 547 // p == NULL: this is valid, use malloc() instead 548 548 // V0.9.12 (2001-05-21) [umoeller] 549 return (memdMalloc(stSize, pcszSourceFile, ulLine, pcszFunction));549 return memdMalloc(stSize, pcszSourceFile, ulLine, pcszFunction); 550 550 551 551 if (memdLock()) … … 665 665 } 666 666 667 return (prc);667 return prc; 668 668 } 669 669 … … 727 727 } 728 728 729 return (ulItemsReleased);729 return ulItemsReleased; 730 730 } 731 731
Note:
See TracChangeset
for help on using the changeset viewer.