~cern-kicad/kicad/kicad-pns-tom

« back to all changes in this revision

Viewing changes to include/hashtables.h

  • Committer: Maciej Suminski
  • Date: 2013-08-02 13:57:24 UTC
  • mfrom: (4024.1.238 kicad)
  • mto: This revision was merged to the branch mainline in revision 4221.
  • Revision ID: maciej.suminski@cern.ch-20130802135724-gix6orezshkukodv
Upstream merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
 
97
97
        for( ; *it;  ++it )
98
98
        {
99
 
            hash ^= *it;
 
99
            hash ^= (unsigned char) *it;
100
100
            hash *= 16777619;
101
101
        }
102
102
        return hash;