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

Comparing ray/src/util/rtcontrib.c (file contents):
Revision 1.57 by greg, Sun Sep 26 15:44:00 2010 UTC vs.
Revision 1.58 by greg, Tue Oct 5 18:05:22 2010 UTC

# Line 21 | Line 21 | static const char RCSid[] = "$Id$";
21   #define MAXMODLIST      1024            /* maximum modifiers we'll track */
22   #endif
23  
24 < int     treebufsiz = BUFSIZ;            /* current tree buffer size */
24 > size_t  treebufsiz = BUFSIZ;            /* current tree buffer size */
25  
26   typedef double  DCOLOR[3];              /* double-precision color */
27  
# Line 93 | Line 93 | struct rtproc {
93          struct rtproc   *next;          /* next in list of processes */
94          SUBPROC         pd;             /* rtrace pipe descriptors */
95          unsigned long   raynum;         /* ray number for this tree */
96 <        int             bsiz;           /* ray tree buffer length */
96 >        size_t          bsiz;           /* ray tree buffer length */
97          char            *buf;           /* ray tree buffer */
98 <        int             nbr;            /* number of bytes from rtrace */
98 >        size_t          nbr;            /* number of bytes from rtrace */
99   };                              /* rtrace process buffer */
100  
101                                          /* rtrace command and defaults */
# Line 1078 | Line 1078 | wait_rproc(void)
1078   {
1079          struct rtproc   *rtfree = NULL;
1080          fd_set          readset, errset;
1081 <        int             nr;
1081 >        ssize_t         nr;
1082          struct rtproc   *rt;
1083          int             n;
1084          

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines