summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-10-16 17:54:37 -0600
committerBrian Paul <[email protected]>2012-10-16 17:55:39 -0600
commit0087f5ce51a74b0c5a467f7f9a3967fff65967b0 (patch)
treecf56f71efdd7542dde01406116e725af26f0a106 /src/gallium
parentffbac58746a18591499aea212e62b32159cc0f58 (diff)
svga: silence MSVC warning about negating an unsigned value
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/svga/svga_state_vdecl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_state_vdecl.c b/src/gallium/drivers/svga/svga_state_vdecl.c
index 170d3f1b297..706d9959ca0 100644
--- a/src/gallium/drivers/svga/svga_state_vdecl.c
+++ b/src/gallium/drivers/svga/svga_state_vdecl.c
@@ -127,7 +127,7 @@ emit_hw_vs_vdecl(struct svga_context *svga, unsigned dirty)
vb->buffer );
}
- svga_hwtnl_set_index_bias( svga->hwtnl, -neg_bias );
+ svga_hwtnl_set_index_bias( svga->hwtnl, -(int) neg_bias );
return PIPE_OK;
}