From: Brian Paul Date: Wed, 23 Jan 2013 00:45:25 +0000 (-0700) Subject: util: silence MSVC signed/unsigned warnings in debug_get_flags_option() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=869071dfb7d527a6f576d98775e5abeb67c81cc9;p=mesa.git util: silence MSVC signed/unsigned warnings in debug_get_flags_option() Reviewed-by: José Fonseca --- diff --git a/src/gallium/auxiliary/util/u_debug.c b/src/gallium/auxiliary/util/u_debug.c index 6e8c5b99376..f4670f28c19 100644 --- a/src/gallium/auxiliary/util/u_debug.c +++ b/src/gallium/auxiliary/util/u_debug.c @@ -232,7 +232,7 @@ debug_get_flags_option(const char *name, unsigned long result; const char *str; const struct debug_named_value *orig = flags; - int namealign = 0; + unsigned namealign = 0; str = os_get_option(name); if(!str)