mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 11:55:35 +08:00
Fix CTime unit test failure with MinGW build
This commit is contained in:
@@ -96,7 +96,7 @@ namespace BlackMisc
|
||||
double hr = CMathUtils::trunc(currentValue / 3600);
|
||||
double remaining = std::fmod(currentValue, 3600);
|
||||
double mi = CMathUtils::trunc(remaining / 60);
|
||||
double se = std::fmod(remaining, 60);
|
||||
double se = CMathUtils::trunc(std::fmod(remaining, 60));
|
||||
|
||||
QList<int> parts;
|
||||
parts << hr << mi << se;
|
||||
|
||||
Reference in New Issue
Block a user