We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6769e23 commit 8467296Copy full SHA for 8467296
source/version.cpp.in
@@ -31,11 +31,11 @@ const Version& current()
31
Version::Version() {}
32
Version::Version(long long version)
33
{
34
- major = version / (1000 * 1000);
+ major = (int)(version / (1000 * 1000));
35
version = version % (1000 * 1000);
36
- minor = version / (1000);
+ minor = (int)(version / 1000);
37
version = version % (1000);
38
- patch = version;
+ patch = (int)version;
39
}
40
//-----------------------------------------------------------------------------------
41
long long Version::asNumber() const
0 commit comments