i965: Fix compiler warning about signed/unsigned.
authorEric Anholt <eric@anholt.net>
Mon, 24 Mar 2014 18:16:38 +0000 (11:16 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 24 Mar 2014 18:16:38 +0000 (11:16 -0700)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp

index 1b32d63..713e477 100644 (file)
@@ -1913,7 +1913,7 @@ fs_visitor::assign_constant_locations()
       if (remapped == -1)
          continue;
 
-      assert(remapped <= i);
+      assert(remapped <= (int)i);
       stage_prog_data->param[remapped] = stage_prog_data->param[i];
    }
 }