From 3cb10cce371cb62e0c4a988ab939bf640b75ebab Mon Sep 17 00:00:00 2001 From: Jan Vesely Date: Thu, 15 Jan 2015 13:41:04 -0500 Subject: mesa: Fix some signed-unsigned comparison warnings v2: s/unsigned int/unsigned/ in prog_optimize.c Signed-off-by: Jan Vesely Reviewed-by: David Heidelberg Reviewed-by: Jose Fonseca --- src/mesa/main/rastpos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/rastpos.c') diff --git a/src/mesa/main/rastpos.c b/src/mesa/main/rastpos.c index a9a6ceec0c1..2027a9bd023 100644 --- a/src/mesa/main/rastpos.c +++ b/src/mesa/main/rastpos.c @@ -490,7 +490,7 @@ void glWindowPos4fMESA( GLfloat x, GLfloat y, GLfloat z, GLfloat w ) */ void _mesa_init_rastpos( struct gl_context * ctx ) { - int i; + unsigned i; ASSIGN_4V( ctx->Current.RasterPos, 0.0, 0.0, 0.0, 1.0 ); ctx->Current.RasterDistance = 0.0; -- cgit v1.2.3