sorrry I did break the build
authorMagnus Olsen <magnus@greatlord.com>
Sat, 3 Jun 2006 17:45:07 +0000 (17:45 +0000)
committerMagnus 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

index 4dbad61..4273c5a 100644 (file)
@@ -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);