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

Comparing ray/src/util/eplus_adduvf.c (file contents):
Revision 2.22 by greg, Fri Feb 28 05:18:49 2020 UTC vs.
Revision 2.23 by greg, Mon Jun 3 18:55:51 2024 UTC

# Line 534 | Line 534 | sample_triangle(const Vert2_list *vl2, int a, int b, i
534                                                  dv[2]*ps->sdir[2][j] ;
535          }
536                                          /* send to our process */
537 <        writebuf(ps->wd, (char *)samp, sizeof(float)*6*ns);
537 >        writebuf(ps->wd, samp, sizeof(float)*6*ns);
538          free(samp);                     /* that's it! */
539          return(1);
540   }
# Line 605 | Line 605 | compute_uvfs(SUBPROC *pd, ZONE *zp)
605                  else                            /* comp. for subsurface area */
606                          adj_factor /= adj_factor - zp->area_redu[n];
607                                                  /* read results */
608 <                if (readbuf(pd->r, (char *)uvfa, sizeof(float)*3*zp->ntotal) !=
608 >                if (readbuf(pd->r, uvfa, sizeof(float)*3*zp->ntotal) !=
609                                  sizeof(float)*3*zp->ntotal) {
610                          fputs(progname, stderr);
611                          fputs(": read error from rcontrib process\n", stderr);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines