[Mesa-dev] [PATCH 06/11] util: silence MSVC signed/unsigned warnings in debug_get_flags_option()

Brian Paul brianp at vmware.com
Tue Jan 22 16:51:16 PST 2013


---
 src/gallium/auxiliary/util/u_debug.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/util/u_debug.c b/src/gallium/auxiliary/util/u_debug.c
index 6e8c5b9..f4670f2 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)
-- 
1.7.3.4



More information about the mesa-dev mailing list