--- ray/src/common/readmesh.c 2003/07/16 01:32:53 2.7 +++ ray/src/common/readmesh.c 2004/01/30 00:08:31 2.11 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: readmesh.c,v 2.7 2003/07/16 01:32:53 greg Exp $"; +static const char RCSid[] = "$Id: readmesh.c,v 2.11 2004/01/30 00:08:31 greg Exp $"; #endif /* * Routines for reading a compiled mesh from a file @@ -7,8 +7,8 @@ static const char RCSid[] = "$Id: readmesh.c,v 2.7 200 #include -#include "standard.h" #include "platform.h" +#include "standard.h" #include "octree.h" #include "object.h" #include "mesh.h" @@ -92,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 */ }