From 47ecdf55daa836b13f049fd28d0e2263dff8884f Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 19 Jan 2003 15:27:37 +0000 Subject: add some casts --- src/mesa/main/nvfragparse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/main/nvfragparse.c') diff --git a/src/mesa/main/nvfragparse.c b/src/mesa/main/nvfragparse.c index c4035f0..641afa4 100644 --- a/src/mesa/main/nvfragparse.c +++ b/src/mesa/main/nvfragparse.c @@ -1,4 +1,4 @@ -/* $Id: nvfragparse.c,v 1.1 2003/01/14 04:55:46 brianp Exp $ */ +/* $Id: nvfragparse.c,v 1.2 2003/01/19 15:27:37 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -191,7 +191,7 @@ MatchInstruction(const char *token) return result; } } - result.opcode = -1; + result.opcode = (enum fp_opcode) -1; return result; } -- cgit v1.1