svga: silence MSVC warning about negating an unsigned value

This commit is contained in:
Brian Paul
2012-10-16 17:54:37 -06:00
parent ffbac58746
commit 0087f5ce51

View File

@@ -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;
}