intel/compiler: replace `0` pointer with `NULL`
authorEric Engestrom <eric.engestrom@intel.com>
Fri, 13 Dec 2019 17:01:39 +0000 (17:01 +0000)
committerEric Engestrom <eric@engestrom.ch>
Fri, 13 Dec 2019 20:16:20 +0000 (20:16 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/intel/compiler/brw_eu.cpp

index e30bbc75f2dfc4d1654fd2d1f47c51114a27fd09..1261c726ace40f1886af080d6a3bc3e333186d74 100644 (file)
@@ -399,7 +399,7 @@ bool brw_try_override_assembly(struct brw_codegen *p, int start_offset,
    ASSERTED bool valid =
       brw_validate_instructions(p->devinfo, p->store,
                                 start_offset, p->next_insn_offset,
-                                0);
+                                NULL);
    assert(valid);
 
    return true;