projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eada6f
)
sorrry I did break the build
author
Magnus Olsen
<magnus@greatlord.com>
Sat, 3 Jun 2006 17:45:07 +0000
(17:45 +0000)
committer
Magnus Olsen
<magnus@greatlord.com>
Sat, 3 Jun 2006 17:45:07 +0000
(17:45 +0000)
svn path=/trunk/; revision=22198
reactos/lib/crt/stdlib/malloc.c
patch
|
blob
|
history
diff --git
a/reactos/lib/crt/stdlib/malloc.c
b/reactos/lib/crt/stdlib/malloc.c
index
4dbad61
..
4273c5a
100644
(file)
--- a/
reactos/lib/crt/stdlib/malloc.c
+++ b/
reactos/lib/crt/stdlib/malloc.c
@@
-60,7
+60,7
@@
void* calloc(size_t _nmemb, size_t _size)
size_t nSize = _nmemb * _size;
size_t cSize = ROUND_SIZE(nSize);
- if (
(_nmemb > ((size_t)-1 / _size
) || (cSize<nSize))
+ if (
(_nmemb > ((size_t)-1 / _size)
) || (cSize<nSize))
return NULL;
return HeapAlloc(hHeap, HEAP_ZERO_MEMORY, cSize );
@@
-73,7
+73,7
@@
void* realloc(void* _ptr, size_t _size)
{
size_t nSize;
- if (( _size == 0) && (_ptr !=NULL)
+ if (( _size == 0) && (_ptr !=NULL)
)
return NULL;
nSize = ROUND_SIZE(_size);