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

Comparing ray/src/common/tmapcolrs.c (file contents):
Revision 3.17 by greg, Fri Jan 7 20:33:02 2005 UTC vs.
Revision 3.19 by greg, Fri Jan 7 22:05:30 2005 UTC

# Line 52 | Line 52 | COLR   *scan,
52   int     len
53   )
54   {
55 <        static char     funcName[] = "tmCvColrs";
55 >        static const char       funcName[] = "tmCvColrs";
56          COLR    cmon;
57          register COLRDATA       *cd;
58          register int    i, bi, li;
# Line 214 | Line 214 | FILE   *fp
214          else if (info.format == FMTCIE)
215                  info.primp = TM_XYZPRIM;
216                                                  /* prepare library */
217 <        if ((err = tmSetSpace(tms, info.primp, 1./info.expos)) != TM_E_OK)
217 >        if ((err = tmSetSpace(tms, info.primp, 1./info.expos, NULL)) != TM_E_OK)
218                  goto done;
219          err = TM_E_NOMEM;                       /* allocate arrays */
220          *lpp = (TMbright *)malloc(sizeof(TMbright) * *xp * *yp);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines