From: Karl Schultz Date: Tue, 13 Jan 2004 01:08:23 +0000 (+0000) Subject: add cast to quiet compiler warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d575248903d0e012c8876c2b2ff4b268d70bedaf;p=mesa.git add cast to quiet compiler warning --- diff --git a/src/mesa/swrast/s_feedback.c b/src/mesa/swrast/s_feedback.c index 7afb3fa1ad1..2ebaaff3c19 100644 --- a/src/mesa/swrast/s_feedback.c +++ b/src/mesa/swrast/s_feedback.c @@ -77,7 +77,7 @@ static void feedback_vertex( GLcontext *ctx, index = v->index; - _mesa_feedback_vertex( ctx, win, color, index, tc ); + _mesa_feedback_vertex( ctx, win, color, (GLfloat)index, tc ); }