Skip to content

Commit

Permalink
Useless cast
Browse files Browse the repository at this point in the history
  • Loading branch information
vnepogodin authored Dec 19, 2021
1 parent 3f49f0f commit 7e95963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/spdlog/details/os-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ SPDLOG_INLINE int pid() SPDLOG_NOEXCEPT
#ifdef _WIN32
return static_cast<int>(::GetCurrentProcessId());
#else
return static_cast<int>(::getpid());
return ::getpid();
#endif
}

Expand Down

0 comments on commit 7e95963

Please sign in to comment.