mirror of
https://github.com/gabime/spdlog.git
synced 2025-04-30 04:23:51 +00:00
Revert "Useless cast"
This reverts commit 7e95963940c6dc5e0cfe46bd59bb9119d1fa19a1.
This commit is contained in:
parent
7e95963940
commit
f81cb9f365
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user