summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorOlli Virtanen <olli.virtanen@oath.com>2019-04-25 15:46:30 +0200
committerOlli Virtanen <olli.virtanen@oath.com>2019-04-25 15:46:30 +0200
commit9da0b809ae93067fe879fe9c6756b3ed296623d9 (patch)
treeb39b163c1ffc72a6fa5b4b39bd9a1f74dcc8f131 /searchcore
parentaaec7c850168983accb3a29292e03a0ae72b8d77 (diff)
Unsigned literal
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/server/proton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/proton.cpp b/searchcore/src/vespa/searchcore/proton/server/proton.cpp
index 4ba8eb130a4..2f952f0957c 100644
--- a/searchcore/src/vespa/searchcore/proton/server/proton.cpp
+++ b/searchcore/src/vespa/searchcore/proton/server/proton.cpp
@@ -456,7 +456,7 @@ Proton::~Proton()
if (pcsp) {
const std::shared_ptr<proton::BootstrapConfig> bcp = pcsp->getBootstrapConfig();
if (bcp) {
- numCores = std::max(bcp->getHwInfo().cpu().cores(), 1);
+ numCores = std::max(bcp->getHwInfo().cpu().cores(), 1u);
}
}