summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/vl/vl_idct.c
diff options
context:
space:
mode:
authorJan Vesely <[email protected]>2016-06-09 23:01:46 -0400
committerEmil Velikov <[email protected]>2016-06-13 15:31:29 +0100
commit1fb4179f927442354f93dfc8494f0236e50af838 (patch)
tree9c021e857a74e60271c0b29222c46f5efe7c20a7 /src/gallium/auxiliary/vl/vl_idct.c
parent112e988329b6af817b4892b530f703e7997b1d7d (diff)
vl: Fix trivial sign compare warnings
v2: add whitepace fixes Signed-off-by: Jan Vesely <[email protected]> Acked-by: Jose Fonseca <[email protected]> [Emil Velikov: squash a few more whitespace issues] Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_idct.c')
-rw-r--r--src/gallium/auxiliary/vl/vl_idct.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/vl/vl_idct.c b/src/gallium/auxiliary/vl/vl_idct.c
index deb97218545..3e6f581244e 100644
--- a/src/gallium/auxiliary/vl/vl_idct.c
+++ b/src/gallium/auxiliary/vl/vl_idct.c
@@ -321,13 +321,11 @@ static void *
create_stage1_frag_shader(struct vl_idct *idct)
{
struct ureg_program *shader;
-
struct ureg_src l_addr[2], r_addr[2];
-
struct ureg_dst l[4][2], r[2];
struct ureg_dst *fragment;
-
- int i, j;
+ unsigned i;
+ int j;
shader = ureg_create(PIPE_SHADER_FRAGMENT);
if (!shader)