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

Comparing ray/src/util/rmatrix.c (file contents):
Revision 2.9 by greg, Thu Aug 28 05:59:42 2014 UTC vs.
Revision 2.10 by greg, Thu Sep 18 23:20:12 2014 UTC

# Line 356 | Line 356 | rmx_write_rgbe(const RMATRIX *rm, FILE *fp)
356   }
357  
358   /* Write matrix to file type indicated by dtype */
359 < long
359 > int
360   rmx_write(const RMATRIX *rm, int dtype, FILE *fp)
361   {
362          RMATRIX *mydm = NULL;
# Line 409 | Line 409 | rmx_write(const RMATRIX *rm, int dtype, FILE *fp)
409          }
410          ok &= (fflush(fp) == 0);
411          rmx_free(mydm);
412 <        return(ftell(fp) * ok);         /* return # bytes written */
412 >        return(ok);
413   }
414  
415   /* Allocate and assign square identity matrix with n components */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines