Mesa (master): util: silence MSVC signed/ unsigned warnings in debug_get_flags_option()

Brian Paul brianp at kemper.freedesktop.org
Fri Jan 25 22:48:26 UTC 2013


Module: Mesa
Branch: master
Commit: 869071dfb7d527a6f576d98775e5abeb67c81cc9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=869071dfb7d527a6f576d98775e5abeb67c81cc9

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 22 17:45:25 2013 -0700

util: silence MSVC signed/unsigned warnings in debug_get_flags_option()

Reviewed-by: José Fonseca <jfonseca at vmware.com>

---

 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)




More information about the mesa-commit mailing list