--- ray/src/hd/rholo.c 2003/06/08 12:03:10 3.55 +++ ray/src/hd/rholo.c 2003/06/20 00:25:49 3.57 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: rholo.c,v 3.55 2003/06/08 12:03:10 schorsch Exp $"; +static const char RCSid[] = "$Id: rholo.c,v 3.57 2003/06/20 00:25:49 greg Exp $"; #endif /* * Radiance holodeck generation controller @@ -413,7 +413,7 @@ creatholo(gp) /* create a holodeck output file */ HDGRID *gp; { extern char VersionID[]; - int4 lastloc, nextloc; + int32 lastloc, nextloc; int n; int fd; FILE *fp; @@ -431,7 +431,7 @@ HDGRID *gp; putw(HOLOMAGIC, fp); /* put magic number */ fd = dup(fileno(fp)); fclose(fp); /* flush and close stdio stream */ - lastloc = lseek(fd, (off_t)0L, 2); + lastloc = lseek(fd, (off_t)0, 2); for (n = vdef(SECTION); n--; gp++) { /* initialize each section */ nextloc = 0L; write(fd, (char *)&nextloc, sizeof(nextloc)); @@ -479,7 +479,7 @@ loadholo() /* start loading a holodeck from fname */ FILE *fp; int fd; int n; - int4 nextloc; + int32 nextloc; if (ncprocs > 0 & force >= 0) fp = fopen(hdkfile, "r+");