diff options
author | Brian Paul <[email protected]> | 2012-01-07 14:16:27 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-07 14:16:27 -0700 |
commit | 7d960a352f9b4ae263371c5f318299e8cbabe277 (patch) | |
tree | 917edef0f396826a6a8f3a0e2558314c005dfe8a /src/mesa/swrast/s_context.c | |
parent | 5fc6db6708048166743a2d9aa62083c040effa8a (diff) |
swrast: s/GLint/GLuint/ to silence MSVC signed/unsigned comparison warning
Diffstat (limited to 'src/mesa/swrast/s_context.c')
-rw-r--r-- | src/mesa/swrast/s_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c index 924612578e2..d9cd9703dba 100644 --- a/src/mesa/swrast/s_context.c +++ b/src/mesa/swrast/s_context.c @@ -718,9 +718,9 @@ _swrast_CreateContext( struct gl_context *ctx ) GLuint i; SWcontext *swrast = (SWcontext *)CALLOC(sizeof(SWcontext)); #ifdef _OPENMP - const GLint maxThreads = omp_get_max_threads(); + const GLuint maxThreads = omp_get_max_threads(); #else - const GLint maxThreads = 1; + const GLuint maxThreads = 1; #endif if (SWRAST_DEBUG) { |