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

Comparing ray/src/px/ra_pr24.c (file contents):
Revision 2.8 by greg, Sun Feb 27 10:17:15 1994 UTC vs.
Revision 2.9 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   *  program to convert between RADIANCE and 24-bit rasterfiles.
6   */
# Line 14 | Line 11 | static char SCCSid[] = "$SunId$ LBL";
11   #include  <fcntl.h>
12   #endif
13  
14 + #include  <time.h>
15 +
16   #include  <math.h>
17  
18   #include  "rasterfile.h"
# Line 22 | Line 21 | static char SCCSid[] = "$SunId$ LBL";
21  
22   #include  "resolu.h"
23  
25 extern char  *malloc();
26
24   double  gamcor = 2.2;                   /* gamma correction */
25  
26   int  bradj = 0;                         /* brightness adjustment */
# Line 177 | Line 174 | int    pad;
174                          quiterr("error writing Radiance picture");
175          }
176                                                  /* free scanline */
177 <        free((char *)scanout);
177 >        free((void *)scanout);
178   }
179  
180  
# Line 223 | Line 220 | int    pad;
220                          quiterr("error writing rasterfile");
221          }
222                                                  /* free scanline */
223 <        free((char *)scanin);
223 >        free((void *)scanin);
224   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines