From a9065cef4879509c3dc96a5195f785647576f409 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Tue, 10 Feb 2015 11:23:55 -0800 Subject: nir: Remove casts from void*. Reviewed-by: Connor Abbott --- src/glsl/nir/nir_lower_atomics.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/glsl/nir/nir_lower_atomics.c') diff --git a/src/glsl/nir/nir_lower_atomics.c b/src/glsl/nir/nir_lower_atomics.c index 6ed53778e18..5e04417c0f3 100644 --- a/src/glsl/nir/nir_lower_atomics.c +++ b/src/glsl/nir/nir_lower_atomics.c @@ -128,8 +128,7 @@ lower_block(nir_block *block, void *state) { nir_foreach_instr_safe(block, instr) { if (instr->type == nir_instr_type_intrinsic) - lower_instr(nir_instr_as_intrinsic(instr), - (nir_function_impl *) state); + lower_instr(nir_instr_as_intrinsic(instr), state); } return true; -- cgit v1.2.3