summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-07-20 21:16:07 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-07-20 21:16:07 +0000
commit782a32b847d097c33a8fc44d3443be08f967e616 (patch)
tree1210136c1314ec606006d8d819a7ba9179cc73da /src/mesa/drivers
parent5fe90292f8720671704236552079412a319308b8 (diff)
fix compare w/ zero warnings (bug 988766)
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i915/i915_debug.c2
1 files changed, 1 insertions, 1 deletions
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);