projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55e89ee
)
mesa: Silence compiler warnings on Windows.
author
Michal Krol
<michal@tungstengraphics.com>
Thu, 4 Sep 2008 11:37:15 +0000
(13:37 +0200)
committer
Michal Krol
<michal@tungstengraphics.com>
Thu, 4 Sep 2008 11:37:15 +0000
(13:37 +0200)
src/mesa/main/ffvertex_prog.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/ffvertex_prog.c
b/src/mesa/main/ffvertex_prog.c
index 62802ffe5d4038c706a2ce553e0e0e5f1a1bb930..787672be9f1ac67aafe8075a594a67e68cf1a951 100644
(file)
--- 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 */