--- ray/src/common/sceneio.c 2003/03/14 21:27:46 2.1 +++ ray/src/common/sceneio.c 2003/06/20 00:25:49 2.3 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: sceneio.c,v 2.1 2003/03/14 21:27:46 greg Exp $"; +static const char RCSid[] = "$Id: sceneio.c,v 2.3 2003/06/20 00:25:49 greg Exp $"; #endif /* * Portable, binary Radiance i/o routines. @@ -81,6 +81,7 @@ int objsiz; return(obj); memerr: error(SYSTEM, "out of memory in getobj"); + return 0; /* pro forma return */ } @@ -136,7 +137,7 @@ register OBJREC *o; void writescene(firstobj, nobjs, fp) /* write binary scene description */ -OBJECT firstobj, nobjs; +int firstobj, nobjs; FILE *fp; { int i;