From: Brian Paul Date: Sat, 7 Jan 2012 21:16:27 +0000 (-0700) Subject: swrast: s/GLint/GLuint/ to silence MSVC signed/unsigned comparison warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7d960a352f9b4ae263371c5f318299e8cbabe277;p=mesa.git swrast: s/GLint/GLuint/ to silence MSVC signed/unsigned comparison warning --- 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) {