--- ray/src/common/readoct.c 1990/09/06 23:32:45 1.8 +++ ray/src/common/readoct.c 1990/12/12 22:43:57 1.10 @@ -104,10 +104,10 @@ char *ofn[]; if (load & IO_SCENE) { /* check object count */ if (nobjects != objorig+fnobjects) - octerror(USER, "bad object count -- stale octree?"); + octerror(USER, "bad object count; octree stale?"); /* check for non-surfaces */ if (nonsurfinset(objorig, fnobjects)) - octerror(USER, "non-surface in set -- stale octree?"); + octerror(USER, "non-surface in set; octree stale?"); } return(nf); } @@ -173,7 +173,7 @@ getflt() /* get a floating point number */ double d; d = (double)getint(4)/0x7fffffff; - return(ldexp(d, getint(1))); + return(ldexp(d, (int)getint(1))); }