projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3edae10
)
gallium/auxiliary: Fix zero integer literal to pointer comparison
author
Edward O'Callaghan
<eocallaghan@alterapraxis.com>
Fri, 4 Dec 2015 05:36:02 +0000
(16:36 +1100)
committer
Marek Olšák
<marek.olsak@amd.com>
Sun, 6 Dec 2015 16:10:02 +0000
(17:10 +0100)
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/util/u_mm.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_mm.c
b/src/gallium/auxiliary/util/u_mm.c
index 2069b56f4648f0f47f65f46e6412701746061ab4..bd4c4e1b1060b3edd67545b1516a7beb7eecb717 100644
(file)
--- 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 {