fix some 0->NULLs

This commit is contained in:
Dave Airlie
2005-02-17 11:13:59 +00:00
parent c8af2b5a52
commit 934be3266f
+2 -2
View File
@@ -54,7 +54,7 @@ memHeap_t *mmInit(int ofs,
PMemBlock blocks;
if (size <= 0) {
return 0;
return NULL;
}
blocks = (TMemBlock *) calloc(1,sizeof(TMemBlock));
if (blocks) {
@@ -63,7 +63,7 @@ memHeap_t *mmInit(int ofs,
blocks->free = 1;
return (memHeap_t *)blocks;
} else
return 0;
return NULL;
}