summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2019-06-22 11:15:42 +0200
committerJose <jose@zeroc.com>2019-06-22 11:15:42 +0200
commitd06432d96634ff4c962cbf50f68ec64622b7fc2c (patch)
tree644f33eb24082355e9e3cc3cfd175e45cd39a5a6
parentAdd swift Makefile (diff)
downloadice-d06432d96634ff4c962cbf50f68ec64622b7fc2c.tar.bz2
ice-d06432d96634ff4c962cbf50f68ec64622b7fc2c.tar.xz
ice-d06432d96634ff4c962cbf50f68ec64622b7fc2c.zip
Fix slice2swift build failure
-rw-r--r--cpp/src/slice2swift/Gen.cpp2
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";