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

Comparing ray/src/px/ra_skel.c (file contents):
Revision 2.10 by greg, Tue Apr 5 14:10:52 1994 UTC vs.
Revision 2.11 by greg, Sat Feb 22 02:07:28 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1992 Regents of the University of California */
2
1   #ifndef lint
2 < static char SCCSid[] = "$SunId$ LBL";
2 > static const char       RCSid[] = "$Id$";
3   #endif
6
4   /*
5   *  Skeletal 24-bit image conversion program.  Replace "skel"
6   *  in this file with a more appropriate image type identifier.
# Line 23 | Line 20 | static char SCCSid[] = "$SunId$ LBL";
20   #ifdef MSDOS
21   #include  <fcntl.h>
22   #endif
23 + #include  <time.h>
24   #include  "color.h"
25   #include  "resolu.h"
26  
29 extern char  *malloc();
30
27   double  gamcor = 2.2;                   /* gamma correction */
28  
29   int  bradj = 0;                         /* brightness adjustment */
# Line 150 | Line 146 | skel2ra()              /* convert 24-bit scanlines to Radiance pic
146                          quiterr("error writing Radiance picture");
147          }
148                                                  /* free scanline */
149 <        free((char *)scanout);
149 >        free((void *)scanout);
150   }
151  
152  
# Line 179 | Line 175 | ra2skel()              /* convert Radiance scanlines to 24-bit */
175                          quiterr("error writing skel file");
176          }
177                                                  /* free scanline */
178 <        free((char *)scanin);
178 >        free((void *)scanin);
179   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines