gallium/aux/util: Fix some warnings
[mesa.git] / src / gallium / auxiliary / util / u_tests.c
index 293a4580a9f3ab528e16c7b5738db3b0ea20e8ce..bae3fa111a4697022b3a91c60a49aa9e3aac7c60 100644 (file)
@@ -649,7 +649,7 @@ test_texture_barrier(struct pipe_context *ctx, bool use_fbfetch,
       /* Vertex shader. */
       void *vs = util_set_passthrough_vertex_shader(cso, ctx, false);
 
-      for (int i = 0; i < num_samples / 2; i++) {
+      for (unsigned i = 0; i < num_samples / 2; i++) {
          float value;
 
          /* 2 consecutive samples should have the same color to test MSAA