Skip to content

Commit 32601f3

Browse files
fix(core): use proper type for pid on windows
1 parent d68b802 commit 32601f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/walltime.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void write_codspeed_benchmarks_to_json(
108108
std::string creator_name = "codspeed-cpp";
109109
std::string creator_version = CODSPEED_VERSION;
110110
#ifdef _WIN32
111-
pid_t creator_pid = _getpid();
111+
auto creator_pid = _getpid();
112112
#else
113113
pid_t creator_pid = getpid();
114114
#endif

0 commit comments

Comments
 (0)