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

Comparing ray/src/util/dctimestep.c (file contents):
Revision 2.45 by greg, Wed Mar 25 01:51:09 2020 UTC vs.
Revision 2.46 by greg, Thu Mar 3 03:55:13 2022 UTC

# Line 64 | Line 64 | sum_images(const char *fspec, const CMATRIX *cv, FILE
64                          pmat = cm_alloc(myYR, myXR);
65                          memset(pmat->cmem, 0, sizeof(COLOR)*myXR*myYR);
66                                                          /* finish header */
67 <                        fputformat((char *)cm_fmt_id[myDT], fout);
67 >                        fputformat(cm_fmt_id[myDT], fout);
68                          fputc('\n', fout);
69                          fflush(fout);
70                  } else if ((dt != myDT) | (xr != myXR) | (yr != myYR)) {
# Line 308 | Line 308 | main(int argc, char *argv[])
308                                          fputs("NCOLS=1\nNCOMP=3\n", ofp);
309                                          if ((outfmt == 'f') | (outfmt == 'd'))
310                                                  fputendian(ofp);
311 <                                        fputformat((char *)cm_fmt_id[outfmt], ofp);
311 >                                        fputformat(cm_fmt_id[outfmt], ofp);
312                                          fputc('\n', ofp);
313                                  }
314                                  cm_write(rvec, outfmt, ofp);
# Line 336 | Line 336 | main(int argc, char *argv[])
336                                  fputs("NCOMP=3\n", ofp);
337                                  if ((outfmt == 'f') | (outfmt == 'd'))
338                                          fputendian(ofp);
339 <                                fputformat((char *)cm_fmt_id[outfmt], ofp);
339 >                                fputformat(cm_fmt_id[outfmt], ofp);
340                                  fputc('\n', ofp);
341                          }
342                          cm_write(rmtx, outfmt, ofp);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines