From: Bryan Cain Date: Wed, 15 Jun 2011 19:45:03 +0000 (-0500) Subject: glsl_to_tgsi: silence compiler warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b30bbd7436bdb9727d3766ba9c07abd610e6dda8;p=mesa.git glsl_to_tgsi: silence compiler warning --- diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.c b/src/mesa/state_tracker/st_mesa_to_tgsi.c index 75842286ba8..656c985d78f 100644 --- a/src/mesa/state_tracker/st_mesa_to_tgsi.c +++ b/src/mesa/state_tracker/st_mesa_to_tgsi.c @@ -1207,7 +1207,7 @@ st_translate_mesa_program( else t->constants[i] = ureg_DECL_immediate( ureg, - program->Parameters->ParameterValues[i], + (const float*) program->Parameters->ParameterValues[i], 4 ); break; default: