diff options
author | Edward O'Callaghan <[email protected]> | 2015-12-04 16:36:02 +1100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-12-06 17:10:02 +0100 |
commit | 34782eec31d66e6392390fdf47b1860af08bcde6 (patch) | |
tree | ea94ad860459a2ec7405ec54f8679ab93f9787f2 /src/gallium/auxiliary/util/u_mm.c | |
parent | 3edae10601daed11be227e5634f7bdf09bafcbac (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.c | 2 |
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 { |