summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/src/vespa/config/frt/frtconnectionpool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/src/vespa/config/frt/frtconnectionpool.cpp b/config/src/vespa/config/frt/frtconnectionpool.cpp
index 0c11401e052..916784896ab 100644
--- a/config/src/vespa/config/frt/frtconnectionpool.cpp
+++ b/config/src/vespa/config/frt/frtconnectionpool.cpp
@@ -97,7 +97,7 @@ namespace {
* @return the hash value
*/
int hashCode(const vespalib::string & s) {
- int hashval = 0;
+ unsigned int hashval = 0;
for (int i = 0; i < (int) s.length(); i++) {
hashval = 31 * hashval + s[i];