--- ray/src/util/rtcontrib.c 2006/02/05 22:22:21 1.40 +++ ray/src/util/rtcontrib.c 2006/04/05 14:33:34 1.42 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: rtcontrib.c,v 1.40 2006/02/05 22:22:21 greg Exp $"; +static const char RCSid[] = "$Id: rtcontrib.c,v 1.42 2006/04/05 14:33:34 greg Exp $"; #endif /* * Gather rtrace output to compute contributions from particular sources @@ -101,7 +101,7 @@ struct rtproc { /* rtrace command and defaults */ char *rtargv[256+2*MAXMODLIST] = { "rtrace", "-dj", ".5", "-dr", "3", - "-ab", "1", "-ad", "128", }; + "-ab", "1", "-ad", "350", }; int rtargc = 9; /* overriding rtrace options */ @@ -567,7 +567,7 @@ addmodifier(char *modn, char *outf, char *binv, int bi mp = growmodifier(mp, bincnt); lep->data = (char *)mp; /* allocate output streams */ - for (i = outf==NULL || outf[0]=='!' ? 0 : bincnt; i--; ) + for (i = outf==NULL || outf[0]=='!' ? 0 : bincnt; i-- > 0; ) getostream(mp->outspec, mp->modname, i, 1); return mp; }