From 72648c25e623be336da83a15d21af6ca3d2e574d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 20 Sep 2011 20:33:45 -0600 Subject: [PATCH] llvmpipe: silence a pointer type warning --- src/gallium/drivers/llvmpipe/lp_state_setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/llvmpipe/lp_state_setup.c b/src/gallium/drivers/llvmpipe/lp_state_setup.c index 9f1ec146e9d..f7ba0035b37 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_setup.c +++ b/src/gallium/drivers/llvmpipe/lp_state_setup.c @@ -556,7 +556,7 @@ finalize_function(struct gallivm_state *gallivm, lp_func_delete_body(function); - return f; + return (lp_jit_setup_triangle) pointer_to_func(f); } /* XXX: Generic code: -- 2.30.2