Skip to content

Commit eec6bc2

Browse files
fix(core): use proper type for pid on windows
1 parent 308c879 commit eec6bc2

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
@@ -112,7 +112,7 @@ void write_codspeed_benchmarks_to_json(
112112
std::string creator_name = "codspeed-cpp";
113113
std::string creator_version = CODSPEED_VERSION;
114114
#ifdef _WIN32
115-
pid_t creator_pid = _getpid();
115+
int creator_pid = _getpid();
116116
#else
117117
pid_t creator_pid = getpid();
118118
#endif

0 commit comments

Comments
 (0)