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

Comparing ray/src/rt/rtrace.c (file contents):
Revision 2.69 by greg, Thu Mar 3 22:38:34 2016 UTC vs.
Revision 2.70 by greg, Thu Aug 18 00:52:48 2016 UTC

# Line 410 | Line 410 | getvec(                /* get a vector from fp */
410                  }
411                  break;
412          case 'f':                                       /* binary float */
413 <                if (getbinary((char *)vf, sizeof(float), 3, fp) != 3)
413 >                if (getbinary(vf, sizeof(float), 3, fp) != 3)
414                          return(-1);
415                  VCOPY(vec, vf);
416                  break;
417          case 'd':                                       /* binary double */
418 <                if (getbinary((char *)vd, sizeof(double), 3, fp) != 3)
418 >                if (getbinary(vd, sizeof(double), 3, fp) != 3)
419                          return(-1);
420                  VCOPY(vec, vd);
421                  break;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines