summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_mm.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <[email protected]>2015-12-04 16:36:02 +1100
committerMarek Olšák <[email protected]>2015-12-06 17:10:02 +0100
commit34782eec31d66e6392390fdf47b1860af08bcde6 (patch)
treeea94ad860459a2ec7405ec54f8679ab93f9787f2 /src/gallium/auxiliary/util/u_mm.c
parent3edae10601daed11be227e5634f7bdf09bafcbac (diff)
gallium/auxiliary: Fix zero integer literal to pointer comparison
Signed-off-by: Edward O'Callaghan <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_mm.c')
-rw-r--r--src/gallium/auxiliary/util/u_mm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_mm.c b/src/gallium/auxiliary/util/u_mm.c
index 2069b56f464..bd4c4e1b106 100644
--- a/src/gallium/auxiliary/util/u_mm.c
+++ b/src/gallium/auxiliary/util/u_mm.c
@@ -34,7 +34,7 @@ void
u_mmDumpMemInfo(const struct mem_block *heap)
{
debug_printf("Memory heap %p:\n", (void *) heap);
- if (heap == 0) {
+ if (heap == NULL) {
debug_printf(" heap == 0\n");
}
else {