Revert "Useless cast"

This reverts commit 7e95963940.
This commit is contained in:
Vladislav Nepogodin 2021-12-19 21:05:21 +04:00
parent 7e95963940
commit f81cb9f365
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9

View File

@ -407,7 +407,7 @@ SPDLOG_INLINE int pid() SPDLOG_NOEXCEPT
#ifdef _WIN32 #ifdef _WIN32
return static_cast<int>(::GetCurrentProcessId()); return static_cast<int>(::GetCurrentProcessId());
#else #else
return ::getpid(); return static_cast<int>(::getpid());
#endif #endif
} }