--- ray/src/common/readoct.c 1989/03/21 15:54:45 1.3 +++ ray/src/common/readoct.c 1989/04/23 19:38:51 1.5 @@ -59,7 +59,7 @@ char *ofn[]; getheader(infp, NULL); /* check format */ if (getint(2) != OCTMAGIC) - octerror(USER, "bad octree"); + octerror(USER, "invalid octree format"); /* get boundaries */ if (load & IO_BOUNDS) { for (i = 0; i < 3; i++) @@ -159,7 +159,7 @@ getflt() /* get a floating point number */ double d; d = (double)getint(4)/0x7fffffff; - return(ldexp(d, getint(1))); /* sign extend */ + return(ldexp(d, getint(1))); }