diff options
author | Jose <jose@zeroc.com> | 2019-08-15 18:00:26 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-08-15 18:00:26 +0200 |
commit | bcbb90fa52534bf07e41182f1f970373721999e1 (patch) | |
tree | ca7b8a9389785b4fc2e2352a4be116d13c79690d /cpp/src/slice2objc | |
parent | Fix Swift IceSSL/configuration failures with macOS catalina (diff) | |
download | ice-bcbb90fa52534bf07e41182f1f970373721999e1.tar.bz2 ice-bcbb90fa52534bf07e41182f1f970373721999e1.tar.xz ice-bcbb90fa52534bf07e41182f1f970373721999e1.zip |
Fix objective-c signedness warning
Diffstat (limited to 'cpp/src/slice2objc')
-rw-r--r-- | cpp/src/slice2objc/Gen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2objc/Gen.cpp b/cpp/src/slice2objc/Gen.cpp index 0416e69ee76..c11a95535cd 100644 --- a/cpp/src/slice2objc/Gen.cpp +++ b/cpp/src/slice2objc/Gen.cpp @@ -2096,7 +2096,7 @@ Slice::Gen::TypesVisitor::writeMemberHashCode(const DataMemberList& dataMembers, } else { - _M << nl << "h_ = ((h_ << 5) + h_) ^ " << name << ";"; + _M << nl << "h_ = ((h_ << 5) + h_) ^ (uint)" << name << ";"; } } else |