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

Comparing ray/src/common/savestr.c (file contents):
Revision 2.3 by greg, Sat Nov 21 21:46:59 1992 UTC vs.
Revision 2.4 by greg, Thu Sep 23 12:15:21 1993 UTC

# Line 103 | Line 103 | register char  *s;
103          register int  h = 0;
104  
105          while (*s)
106 <                h = (h<<1 & 0x7fff) ^ *s++;
106 >                h = (h<<1 & 0x7fff) ^ (*s++ & 0xff);
107          return(h);
108   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines