mesa: Silence compiler warnings on Windows.
authorMichal Krol <michal@tungstengraphics.com>
Thu, 4 Sep 2008 11:37:15 +0000 (13:37 +0200)
committerMichal Krol <michal@tungstengraphics.com>
Thu, 4 Sep 2008 11:37:15 +0000 (13:37 +0200)
src/mesa/main/ffvertex_prog.c

index 62802ff..787672b 100644 (file)
@@ -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 */