summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_builder.cpp
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-11-04 16:43:44 -0700
committerBrian Paul <[email protected]>2012-11-06 07:42:37 -0700
commitc3466315c004302b924e346ceab019ef8b446635 (patch)
tree7a9ba3f952c052318203a030aa05ebf73aa5c1e0 /src/glsl/ir_builder.cpp
parente87a57843cd51bcf4bbe5eaefd20b04641824c9b (diff)
glsl: change int->unsigned to silence MSVC warnings
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/glsl/ir_builder.cpp')
-rw-r--r--src/glsl/ir_builder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir_builder.cpp b/src/glsl/ir_builder.cpp
index d96e25c189f..c62f0b115bb 100644
--- a/src/glsl/ir_builder.cpp
+++ b/src/glsl/ir_builder.cpp
@@ -77,7 +77,7 @@ swizzle(operand a, int swizzle, int components)
}
ir_swizzle *
-swizzle_for_size(operand a, int components)
+swizzle_for_size(operand a, unsigned components)
{
void *mem_ctx = ralloc_parent(a.val);