summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_state_setup.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-09-20 20:33:45 -0600
committerBrian Paul <[email protected]>2011-09-20 20:33:45 -0600
commit72648c25e623be336da83a15d21af6ca3d2e574d (patch)
tree8e2d32a2753618aba1cfb91370d3e9b8d582d9c2 /src/gallium/drivers/llvmpipe/lp_state_setup.c
parentde740d7b0aa39419c625cb3640e272c85b58a8a2 (diff)
llvmpipe: silence a pointer type warning
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state_setup.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state_setup.c2
1 files changed, 1 insertions, 1 deletions
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: