Fix last warnings, SocketContextOptions, BloomFilter

This commit is contained in:
Alex Hultman
2020-12-01 05:45:53 +01:00
parent a8b33acf7b
commit fe553742f2
5 changed files with 25 additions and 8 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ private:
static unsigned int toUnsignedInteger(std::string_view str) {
unsigned int unsignedIntegerValue = 0;
for (char c : str) {
unsignedIntegerValue = unsignedIntegerValue * 10 + ((unsigned char) c - '0');
unsignedIntegerValue = unsignedIntegerValue * 10u + ((unsigned int) c - (unsigned int) '0');
}
return unsignedIntegerValue;
}