diff --git a/Genome/Source/JsonConvertibleType.swift b/Genome/Source/JsonConvertibleType.swift index 5a65e67..b82f2fc 100644 --- a/Genome/Source/JsonConvertibleType.swift +++ b/Genome/Source/JsonConvertibleType.swift @@ -123,7 +123,7 @@ extension SignedIntegerType { throw logError(JsonConvertibleError.UnableToConvert(json: json, toType: "\(self)")) } - return self.init(int.toIntMax()) + return self.init(int) } }