0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-07-07 10:25:22 +00:00
Files
termux-packages/packages/swift/swift-arm-casts.patch
2025-04-01 12:49:55 +05:30

14 lines
522 B
Diff

diff --git a/swift/include/swift/AST/Attr.h b/swift/include/swift/AST/Attr.h
index 0255b38af1b..3949e62e750 100644
--- a/swift/include/swift/AST/Attr.h
+++ b/swift/include/swift/AST/Attr.h
@@ -2661,7 +2661,7 @@ public:
ArrayRef<Identifier> getSuppressedFeatures() const {
return {getTrailingObjects<Identifier>(),
- Bits.AllowFeatureSuppressionAttr.NumFeatures};
+ static_cast<size_t>(Bits.AllowFeatureSuppressionAttr.NumFeatures)};
}
static bool classof(const DeclAttribute *DA) {