~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fwatch: Include <string.h> for declaration of memset(3).
[mLib]
/
unihash-check.pl
diff --git
a/unihash-check.pl
b/unihash-check.pl
index
72c3b9b
..
f7041f8
100644
(file)
--- a/
unihash-check.pl
+++ b/
unihash-check.pl
@@
-8,7
+8,7
@@
sub gfmul {
while ($y) {
if ($y & 1) { $a ^= $x };
- if ($x & 0x80000000) { $x <<= 1; $x ^= $MOD; }
+ if ($x & 0x80000000) { $x <<= 1; $x
&= 0xffffffff; $x
^= $MOD; }
else { $x <<= 1; }
$y >>= 1;
}