gallium/auxiliary: Fix zero integer literal to pointer comparison

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
Edward O'Callaghan 2015-12-04 16:36:02 +11:00 committed by Marek Olšák
parent 3edae10601
commit 34782eec31

View file

@ -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 {