diff options
author | Jose <jose@zeroc.com> | 2019-06-22 11:15:42 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-06-22 11:15:42 +0200 |
commit | d06432d96634ff4c962cbf50f68ec64622b7fc2c (patch) | |
tree | 644f33eb24082355e9e3cc3cfd175e45cd39a5a6 /cpp/src/slice2swift/Gen.cpp | |
parent | Add swift Makefile (diff) | |
download | ice-d06432d96634ff4c962cbf50f68ec64622b7fc2c.tar.bz2 ice-d06432d96634ff4c962cbf50f68ec64622b7fc2c.tar.xz ice-d06432d96634ff4c962cbf50f68ec64622b7fc2c.zip |
Fix slice2swift build failure
Diffstat (limited to 'cpp/src/slice2swift/Gen.cpp')
-rw-r--r-- | cpp/src/slice2swift/Gen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2swift/Gen.cpp b/cpp/src/slice2swift/Gen.cpp index 4ced089cfe6..2215503dea9 100644 --- a/cpp/src/slice2swift/Gen.cpp +++ b/cpp/src/slice2swift/Gen.cpp @@ -857,7 +857,7 @@ Gen::TypesVisitor::visitDictionary(const DictionaryPtr& p) const string optionalFormat = getUnqualified(getOptionalFormat(p), swiftModule); const bool isVariableLength = p->keyType()->isVariableLength() || p->valueType()->isVariableLength(); - const int minWireSize = p->keyType()->minWireSize() + p->valueType()->minWireSize(); + const size_t minWireSize = p->keyType()->minWireSize() + p->valueType()->minWireSize(); out << sp; out << nl << "/// Helper class to read and write `" << fixIdent(name) << "` dictionary values from"; |