fix serialVersionUID on 64-bit systems
This commit is contained in:
parent
0901b214c5
commit
d272e88b2d
|
@ -29,12 +29,7 @@ sub supported_platforms {
|
||||||
}
|
}
|
||||||
|
|
||||||
sub hash {
|
sub hash {
|
||||||
use integer;
|
return unpack("%32C*", shift) % 65535;
|
||||||
my $hash = 0;
|
|
||||||
for (split //, shift) {
|
|
||||||
$hash = $hash*31 + ord $_;
|
|
||||||
}
|
|
||||||
return $hash;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#this script generates jni code and java classes for the following table
|
#this script generates jni code and java classes for the following table
|
||||||
|
|
Loading…
Reference in New Issue