From: Michal Krol Date: Thu, 4 Sep 2008 11:37:15 +0000 (+0200) Subject: mesa: Silence compiler warnings on Windows. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=978f07bebdd5a368b8f900ed9cf77d3464a77ec0;p=mesa.git mesa: Silence compiler warnings on Windows. --- diff --git a/src/mesa/main/ffvertex_prog.c b/src/mesa/main/ffvertex_prog.c index 62802ffe5d4..787672be9f1 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 */