aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm/lp_bld_swizzle.c
diff options
context:
space:
mode:
authorJan Vesely <[email protected]>2016-06-02 20:03:14 -0400
committerJan Vesely <[email protected]>2016-06-13 09:23:09 -0400
commitace70aedcf8b29380a17f68a994b18f60976bca6 (patch)
tree6a52469550a1d4cf189941567dc4b9bf4dcba66b /src/gallium/auxiliary/gallivm/lp_bld_swizzle.c
parenta04804746f6d999905cda125a0778160d62c73a2 (diff)
gallivm: Fix trivial sign warnings
v2: include whitespace fixes Signed-off-by: Jan Vesely <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_swizzle.c')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_swizzle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_swizzle.c b/src/gallium/auxiliary/gallivm/lp_bld_swizzle.c
index 92f387dc1b0..5a97c48ef85 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_swizzle.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_swizzle.c
@@ -467,7 +467,7 @@ lp_build_swizzle_aos(struct lp_build_context *bld,
LLVMValueRef res;
struct lp_type type4;
unsigned cond = 0;
- unsigned chan;
+ int chan;
int shift;
/*