summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-05-30 10:40:43 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-05-30 10:40:43 +0200
commit31ea401af785aed2faebfe6ede6c671e055f38d6 (patch)
treea6f2edf1e4af9b261e8a21ecaee3aa9ef14b26f5 /searchcore
parent05d1ae6da326c26f5e94d60457a137e1bf5280c0 (diff)
Correct type
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 1da0895e7d0..f9932deb641 100644
--- a/searchcore/src/vespa/searchcore/proton/server/proton.cpp
+++ b/searchcore/src/vespa/searchcore/proton/server/proton.cpp
@@ -284,7 +284,7 @@ Proton::init(const BootstrapConfig::SP & configSnapshot)
_warmupExecutor.reset(new vespalib::ThreadStackExecutor(4, 128*1024));
// We need at least 1 guaranteed free worker in order to ensure progress so #documentsdbs + 1 should suffice,
// but we will not be cheap and give #documentsdbs * 2
- const size_t summaryThreads = std::max(protonConfig.summary.log.numthreads, protonConfig.documentdb.size() * 2);
+ const size_t summaryThreads = std::max(size_t(protonConfig.summary.log.numthreads), protonConfig.documentdb.size() * 2);
_summaryExecutor.reset(new vespalib::BlockingThreadStackExecutor(summaryThreads, 128*1024, summaryThreads*16));
InitializeThreads initializeThreads;
if (protonConfig.initialize.threads > 0) {