Skip to content

Commit 782a094

Browse files
chore: explicitly convert pid to unsigned
1 parent 2fe37b1 commit 782a094

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/include/measurement.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ ALWAYS_INLINE void measurement_stop() {
6565
}
6666

6767
ALWAYS_INLINE void measurement_set_executed_benchmark(const std::string& name) {
68-
auto current_pid = getpid();
68+
auto current_pid = static_cast<uint32_t>(getpid());
6969
instrument_hooks_executed_benchmark(g_hooks, current_pid, name.c_str());
7070
}
7171

0 commit comments

Comments
 (0)