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

Comparing ray/src/common/header.c (file contents):
Revision 2.36 by greg, Wed Aug 14 18:20:02 2019 UTC vs.
Revision 2.37 by greg, Wed Aug 14 19:52:39 2019 UTC

# Line 225 | Line 225 | isbigendian(           /* header line says "BigEndian=1" (-1 if
225   {
226          const char      *be = BIGEND;
227  
228 <        while (*s & (*be != '=') && *s++ == *be)
228 >        while ((*s != '\0') & (*be != '=') && *s++ == *be)
229                  ++be;
230          if (*be != '=')
231                  return(-1);     /* irrelevant */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines