Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
e135b7f6
Commit
e135b7f6
authored
Jul 09, 2013
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
treat chars as unsigned when hashing
parent
28d702f6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
hashtables.h
include/hashtables.h
+1
-1
No files found.
include/hashtables.h
View file @
e135b7f6
...
@@ -96,7 +96,7 @@ struct fnv_1a
...
@@ -96,7 +96,7 @@ struct fnv_1a
for
(
;
*
it
;
++
it
)
for
(
;
*
it
;
++
it
)
{
{
hash
^=
*
it
;
hash
^=
(
unsigned
char
)
*
it
;
hash
*=
16777619
;
hash
*=
16777619
;
}
}
return
hash
;
return
hash
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment