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

Comparing ray/src/util/cmatrix.c (file contents):
Revision 2.18 by greg, Tue Aug 30 14:52:46 2016 UTC vs.
Revision 2.20 by greg, Thu Aug 2 18:33:49 2018 UTC

# Line 21 | Line 21 | const char     *cm_fmt_id[] = {
21                  };
22  
23   const int       cm_elem_size[] = {
24 <                        0, 0, 3*sizeof(float), 3*sizeof(double), 4, 4
24 >                        0, 0, 4, 4, 3*sizeof(float), 3*sizeof(double)
25                  };
26  
27   /* Allocate a color coefficient matrix */
# Line 87 | Line 87 | static int
87   get_cminfo(char *s, void *p)
88   {
89          CMINFO  *ip = (CMINFO *)p;
90 <        char    fmt[32];
90 >        char    fmt[MAXFMTLEN];
91          int     i;
92  
93          if (!strncmp(s, "NCOMP=", 6) && atoi(s+6) != 3) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines