summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Krol <michal@tungstengraphics.com>2008-09-04 13:37:15 +0200
committerMichal Krol <michal@tungstengraphics.com>2008-09-04 13:37:15 +0200
commit978f07bebdd5a368b8f900ed9cf77d3464a77ec0 (patch)
tree1734d10ae142f3877221be8ac26e32dc71b94873
parent55e89eecff6a8dc0433eca16e2ea699ec9636d1b (diff)
mesa: Silence compiler warnings on Windows.
-rw-r--r--src/mesa/main/ffvertex_prog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/ffvertex_prog.c b/src/mesa/main/ffvertex_prog.c
index 62802ffe5d..787672be9f 100644
--- a/src/mesa/main/ffvertex_prog.c
+++ b/src/mesa/main/ffvertex_prog.c
@@ -608,7 +608,7 @@ static void emit_op3fn(struct tnl_program *p,
GLuint nr;
struct prog_instruction *inst;
- assert(p->program->Base.NumInstructions <= p->max_inst);
+ assert((GLint) p->program->Base.NumInstructions <= p->max_inst);
if (p->program->Base.NumInstructions == p->max_inst) {
/* need to extend the program's instruction array */