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

Comparing ray/src/common/colrops.c (file contents):
Revision 2.7 by greg, Tue Feb 25 02:47:21 2003 UTC vs.
Revision 2.10 by schorsch, Sun Jul 27 22:12:01 2003 UTC

# Line 7 | Line 7 | static const char      RCSid[] = "$Id$";
7  
8   #include "copyright.h"
9  
10 + #include <stdio.h>
11   #include <math.h>
12   #include "color.h"
13  
13 #define NULL            0
14
14   extern char     *bmalloc();
15  
16   #define MAXGSHIFT       31              /* maximum shift for gamma table */
# Line 136 | Line 135 | int    len;
135   {
136          register int    nexpo;
137  
138 <        if (g_mant == NULL | g_nexp == NULL)
138 >        if ((g_mant == NULL) | (g_nexp == NULL))
139                  return(-1);
140          while (len-- > 0) {
141                  nexpo = g_nexp[scan[0][RED]];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines