From 782a32b847d097c33a8fc44d3443be08f967e616 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 20 Jul 2004 21:16:07 +0000 Subject: fix compare w/ zero warnings (bug 988766) --- src/mesa/drivers/dri/i915/i915_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers') diff --git a/src/mesa/drivers/dri/i915/i915_debug.c b/src/mesa/drivers/dri/i915/i915_debug.c index 7a5777d71a..054b561605 100644 --- a/src/mesa/drivers/dri/i915/i915_debug.c +++ b/src/mesa/drivers/dri/i915/i915_debug.c @@ -285,7 +285,7 @@ void i915_disassemble_program( const GLuint *program, GLuint sz ) for (i = 1 ; i < sz ; i+=3, program+=3) { GLuint opcode = program[0] & (0x1f<<24); - if (opcode >= A0_NOP && opcode <= A0_SLT) + if ((GLint) opcode >= A0_NOP && opcode <= A0_SLT) print_arith_op(opcode >> 24, program); else if (opcode >= T0_TEXLD && opcode <= T0_TEXKILL) print_tex_op(opcode >> 24, program); -- cgit v1.2.3