--- ray/src/common/readmesh.c 2003/06/20 00:25:49 2.6 +++ ray/src/common/readmesh.c 2003/07/30 10:11:06 2.8 @@ -1,10 +1,12 @@ #ifndef lint -static const char RCSid[] = "$Id: readmesh.c,v 2.6 2003/06/20 00:25:49 greg Exp $"; +static const char RCSid[] = "$Id: readmesh.c,v 2.8 2003/07/30 10:11:06 schorsch Exp $"; #endif /* * Routines for reading a compiled mesh from a file */ +#include + #include "standard.h" #include "platform.h" #include "octree.h" @@ -90,7 +92,7 @@ gettree() /* get a pre-ordered octree */ default: mesherror(USER, "damaged mesh octree"); } - return NULL; /* pro forma return */ + return (OCTREE)NULL; /* pro forma return */ }