summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/rastpos.c
diff options
context:
space:
mode:
authorJan Vesely <jan.vesely@rutgers.edu>2015-01-15 13:41:04 -0500
committerJosé Fonseca <jfonseca@vmware.com>2015-01-21 14:05:52 +0000
commit3cb10cce371cb62e0c4a988ab939bf640b75ebab (patch)
tree40453928615bb6ac1e4e2dfd3e0bdb3933692197 /src/mesa/main/rastpos.c
parentda1f92779d0b65c4a57ea201cca6d370da63a011 (diff)
downloadexternal_mesa3d-3cb10cce371cb62e0c4a988ab939bf640b75ebab.zip
external_mesa3d-3cb10cce371cb62e0c4a988ab939bf640b75ebab.tar.gz
external_mesa3d-3cb10cce371cb62e0c4a988ab939bf640b75ebab.tar.bz2
mesa: Fix some signed-unsigned comparison warnings
v2: s/unsigned int/unsigned/ in prog_optimize.c Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: David Heidelberg <david@ixit.cz> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/mesa/main/rastpos.c')
-rw-r--r--src/mesa/main/rastpos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/rastpos.c b/src/mesa/main/rastpos.c
index a9a6cee..2027a9b 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;