Skip to content

Commit 8936d29

Browse files
committed
DPL: fix mismatched type in signpost
1 parent 19b82ba commit 8936d29

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Framework/Core/src/ControlWebSocketHandler.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ void ControlWebSocketHandler::endChunk()
7979
}
8080
O2_SIGNPOST_ID_GENERATE(sid, rate_limiting);
8181
O2_SIGNPOST_START(rate_limiting, sid, "endChunk",
82-
"Processing metrics from device %d (had new metric: %d)",
82+
"Processing metrics from device %zu (had new metric: %d)",
8383
mIndex, (int)didHaveNewMetric);
8484
size_t timestamp = (uv_hrtime() - mContext.driver->startTime) / 1000000 + mContext.driver->startTimeMsFromEpoch;
8585
assert(mContext.metrics);
@@ -99,7 +99,7 @@ void ControlWebSocketHandler::endChunk()
9999
std::fill(metricsInfo.changed.begin(), metricsInfo.changed.end(), false);
100100
}
101101
O2_SIGNPOST_END(rate_limiting, sid, "endChunk",
102-
"Done processing metrics from device %d", mIndex);
102+
"Done processing metrics from device %zu", mIndex);
103103
}
104104

105105
void ControlWebSocketHandler::headers(std::map<std::string, std::string> const& headers)

0 commit comments

Comments
 (0)