ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/readoct.c
(Generate patch)

Comparing ray/src/common/readoct.c (file contents):
Revision 2.10 by greg, Thu Nov 18 09:27:01 1993 UTC vs.
Revision 2.11 by greg, Mon Aug 29 14:20:37 1994 UTC

# Line 59 | Line 59 | char  *ofn[];
59          setmode(fileno(infp), O_BINARY);
60   #endif
61                                          /* get header */
62 <        if (checkheader(infp, OCTFMT, load&IO_INFO ? stdout : NULL) < 0)
62 >        if (checkheader(infp, OCTFMT, load&IO_INFO ? stdout : (FILE *)NULL) < 0)
63                  octerror(USER, "not an octree");
64                                          /* check format */
65          if ((objsize = ogetint(2)-OCTMAGIC) <= 0 ||

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines