Commit e135b7f6 authored by Dick Hollenbeck's avatar Dick Hollenbeck
Browse files

treat chars as unsigned when hashing

parent 28d702f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -96,7 +96,7 @@ struct fnv_1a

        for( ; *it;  ++it )
        {
            hash ^= *it;
            hash ^= (unsigned char) *it;
            hash *= 16777619;
        }
        return hash;