summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-04-14 21:32:38 +0200
committerGitHub <noreply@github.com>2021-04-14 21:32:38 +0200
commita7be29795a9c8ebd21b0869b249361908297828d (patch)
tree5fcd048231fc0a350b34b30910fef1db3f41fcd3 /searchlib
parent3dcdb83b46e70866d11b55a10c4cae797f105b24 (diff)
parent9c5bf41be347e5e480a624015a597156e8a58e83 (diff)
Merge pull request #17434 from vespa-engine/toregge/fix-format-string
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);
}
}