-/* $Id: imports.c,v 1.29 2003/01/14 03:05:38 brianp Exp $ */
+/* $Id: imports.c,v 1.30 2003/01/19 15:27:38 brianp Exp $ */
/*
* Mesa 3-D graphics library
_mesa_strdup( const char *s )
{
int l = _mesa_strlen(s);
- char *s2 = _mesa_malloc(l + 1);
+ char *s2 = (char *) _mesa_malloc(l + 1);
if (s2)
_mesa_strcpy(s2, s);
return s2;
-/* $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
return result;
}
}
- result.opcode = -1;
+ result.opcode = (enum fp_opcode) -1;
return result;
}