summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@verizonmedia.com>2021-04-14 19:59:11 +0200
committerTor Egge <Tor.Egge@verizonmedia.com>2021-04-14 19:59:11 +0200
commit9c5bf41be347e5e480a624015a597156e8a58e83 (patch)
tree65ccd696b63b510990bf4e38a97b50a867e0b6e1 /searchlib
parent8a6aeb13c413927b5012e5f927f54a7650a7db5a (diff)
Fix format string.
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/engine/proto_converter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/vespa/searchlib/engine/proto_converter.cpp b/searchlib/src/vespa/searchlib/engine/proto_converter.cpp
index f58bcb58949..53756bfcac6 100644
--- a/searchlib/src/vespa/searchlib/engine/proto_converter.cpp
+++ b/searchlib/src/vespa/searchlib/engine/proto_converter.cpp
@@ -99,7 +99,7 @@ ProtoConverter::search_reply_to_proto(const SearchReply &reply, ProtoSearchReply
uint32_t asked_hits = reply.request->maxhits;
size_t got_hits = reply.hits.size();
if (got_hits < asked_hits && asked_offset + got_hits < reply.totalHitCount) {
- LOG(warning, "asked for %u hits [at offset %u] but only returning %zu hits from %zu available",
+ LOG(warning, "asked for %u hits [at offset %u] but only returning %zu hits from %" PRIu64 " available",
asked_hits, asked_offset, got_hits, reply.totalHitCount);
}
}