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

Comparing ray/src/util/dcglare.c (file contents):
Revision 2.4 by greg, Thu Jun 24 18:08:07 2021 UTC vs.
Revision 2.5 by greg, Thu Mar 3 03:55:13 2022 UTC

# Line 83 | Line 83 | sum_images(const char *fspec, const CMATRIX *cv, FILE
83                          pmat = cm_alloc(myYR, myXR);
84                          memset(pmat->cmem, 0, sizeof(COLOR)*myXR*myYR);
85                                                          /* finish header */
86 <                        fputformat((char *)cm_fmt_id[myDT], fout);
86 >                        fputformat(cm_fmt_id[myDT], fout);
87                          fputc('\n', fout);
88                          fflush(fout);
89                  } else if ((dt != myDT) | (xr != myXR) | (yr != myYR)) {
# Line 477 | Line 477 | main(int argc, char *argv[])
477                                          fputs("NCOLS=1\nNCOMP=3\n", ofp);
478                                          if ((outfmt == 'f') | (outfmt == 'd'))
479                                                  fputendian(ofp);
480 <                                        fputformat((char *)cm_fmt_id[outfmt], ofp);
480 >                                        fputformat(cm_fmt_id[outfmt], ofp);
481                                          fputc('\n', ofp);
482                                  }
483                                  cm_write(rvec, outfmt, ofp);
# Line 510 | Line 510 | main(int argc, char *argv[])
510   #endif /* DC_GLARE */
511                                  if ((outfmt == 'f') | (outfmt == 'd'))
512                                          fputendian(ofp);
513 <                                fputformat((char *)cm_fmt_id[outfmt], ofp);
513 >                                fputformat(cm_fmt_id[outfmt], ofp);
514                                  fputc('\n', ofp);
515                          }
516   #ifdef DC_GLARE

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines