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 |
|
|
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 */ |
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 |
|
|