diff options
author | Olli Virtanen <olli.virtanen@oath.com> | 2019-04-25 15:46:30 +0200 |
---|---|---|
committer | Olli Virtanen <olli.virtanen@oath.com> | 2019-04-25 15:46:30 +0200 |
commit | 9da0b809ae93067fe879fe9c6756b3ed296623d9 (patch) | |
tree | b39b163c1ffc72a6fa5b4b39bd9a1f74dcc8f131 /searchcore/src | |
parent | aaec7c850168983accb3a29292e03a0ae72b8d77 (diff) |
Unsigned literal
Diffstat (limited to 'searchcore/src')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/server/proton.cpp | 2 |
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); } } |