From 9659e52943d62e79b4034c985c493010d2a3bc7c Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Sun, 20 Feb 2022 12:20:26 -0600 Subject: [PATCH] avoid a warning --- tests/performance/valgrind_instrumentation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/performance/valgrind_instrumentation.h b/tests/performance/valgrind_instrumentation.h index 31132441b9..b8b9dc2257 100644 --- a/tests/performance/valgrind_instrumentation.h +++ b/tests/performance/valgrind_instrumentation.h @@ -61,7 +61,7 @@ namespace callgrind_wrapper std::remove("callgrind.out"); CALLGRIND_ZERO_STATS; CALLGRIND_START_INSTRUMENTATION; - const auto my_pid = getpid(); // do something useful + const unsigned my_pid = getpid(); // do something useful CALLGRIND_DUMP_STATS_AT("callgrind-wrapper-token"); CALLGRIND_STOP_INSTRUMENTATION; -- 2.39.5