Skip to content
Permalink
Browse files

Merge PR #2956: MurmurIce: fix signed/unsigned comparison between str…

…ing size and std::numeric_limits.
  • Loading branch information...
mkrautz committed Mar 18, 2017
2 parents c84af26 + 8728ea7 commit 3313f9b5c5a7842a580eff0c8a7e0aa439158d8a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/murmur/MurmurIce.cpp
@@ -73,7 +73,7 @@ static std::string iceString(const QString &s) {
/// If the function is passed a string bigger than that,
/// it will return an empty string.
static std::string iceBase64(const std::string &s) {
if (s.size() > std::numeric_limits<int>::max()) {
if (s.size() > static_cast<size_t>(std::numeric_limits<int>::max())) {
return std::string();
}

0 comments on commit 3313f9b

Please sign in to comment.
You can’t perform that action at this time.