2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

Merge pull request #3291 from chenglch/conserver

Fix the calculation error for conserver version number
This commit is contained in:
zet809 2017-06-20 11:29:34 +08:00 committed by GitHub
commit 8b913ed12c

View File

@ -638,7 +638,7 @@ sub calc_conserver_version
{
my $ver_str = shift;
my @vers = split(/\./, $ver_str);
return ord($vers[2]) + ord($vers[1]) * 10000 + ord($vers[0]) * 100000000;
return int($vers[2]) + int($vers[1]) * 10000 + int($vers[0]) * 100000000;
}