Skip to content

Commit e103505

Browse files
committed
Use CC to output hash
1 parent e731122 commit e103505

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utils/extract_strings.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ sub fnv_16 {
226226

227227
foreach(sort{$a <=> $b} keys %hashvalues)
228228
{
229-
print $fh pack("S", $_);
229+
print $fh pack("CC", $_ & 0xFF, $_ >> 8);
230230
print $fh "$hashvalues{$_}\n";
231231
}
232232
close $fh;

0 commit comments

Comments
 (0)