mirror of
https://github.com/decompals/wibo.git
synced 2025-12-16 00:17:04 +00:00
Add CMake toolchains and update CI
This commit is contained in:
@@ -101,8 +101,8 @@ LONGLONG timespecToFileTime(const timespec &ts) {
|
||||
if (ticks < 0.0L) {
|
||||
return 0;
|
||||
}
|
||||
if (ticks > static_cast<long double>(std::numeric_limits<LONGLONG>::max())) {
|
||||
return std::numeric_limits<LONGLONG>::max();
|
||||
if (ticks > static_cast<long double>(std::numeric_limits<long long>::max())) {
|
||||
return std::numeric_limits<long long>::max();
|
||||
}
|
||||
return static_cast<LONGLONG>(ticks);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user