summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorDave Airlie <airliedfreedesktop.org>2005-02-17 11:13:59 +0000
committerDave Airlie <airliedfreedesktop.org>2005-02-17 11:13:59 +0000
commit934be3266fe7c873f8fa1154af20d378282d2d47 (patch)
tree8d78567cf67e4975bc430e1beaab26070c105d1c /src/mesa
parentc8af2b5a52570cf8a9082c88e71cf99a0f07fe85 (diff)
fix some 0->NULLs
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/common/mm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/common/mm.c b/src/mesa/drivers/dri/common/mm.c
index 6572ccd991..5781d9936c 100644
--- a/src/mesa/drivers/dri/common/mm.c
+++ b/src/mesa/drivers/dri/common/mm.c
@@ -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;
}