diff options
author | Karl Schultz <[email protected]> | 2003-08-30 14:45:04 +0000 |
---|---|---|
committer | Karl Schultz <[email protected]> | 2003-08-30 14:45:04 +0000 |
commit | dc24230de7f913969b52dee3579bb8fa3d50a8c0 (patch) | |
tree | 721e30477f9c529d562fa4bd2b71e465b4ed7fd0 /src/mesa/main/matrix.c | |
parent | d12a871b21adee531661f4cf6561d2ffda685359 (diff) |
Silence compiler warnings about implicit casts or conversions by supplying explicit casts and/or tweaking constant and variable definitions.
Diffstat (limited to 'src/mesa/main/matrix.c')
-rw-r--r-- | src/mesa/main/matrix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/matrix.c b/src/mesa/main/matrix.c index 6a3485876d3..e74e1728e79 100644 --- a/src/mesa/main/matrix.c +++ b/src/mesa/main/matrix.c @@ -191,7 +191,7 @@ _mesa_MatrixMode( GLenum mode ) case GL_MATRIX7_ARB: if (ctx->Extensions.ARB_vertex_program || ctx->Extensions.ARB_fragment_program) { - const GLint m = mode - GL_MATRIX0_ARB; + const GLuint m = mode - GL_MATRIX0_ARB; if (m > ctx->Const.MaxProgramMatrices) { _mesa_error(ctx, GL_INVALID_ENUM, "glMatrixMode(GL_MATRIX%d_ARB)", m); |