Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 9e32a9c

Browse files
committed
Make enginesCreatedCount uint
1 parent 470475d commit 9e32a9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shell/platform/darwin/ios/framework/Source/FlutterEngineGroup.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ @interface FlutterEngineGroup ()
1414
@property(nonatomic, copy) NSString* name;
1515
@property(nonatomic, strong) NSMutableArray<NSValue*>* engines;
1616
@property(nonatomic, copy) FlutterDartProject* project;
17-
@property(nonatomic, assign) int enginesCreatedCount;
17+
@property(nonatomic, assign) NSUInteger enginesCreatedCount;
1818
@end
1919

2020
@implementation FlutterEngineGroup
@@ -77,7 +77,7 @@ - (FlutterEngine*)makeEngineWithOptions:(nullable FlutterEngineGroupOptions*)opt
7777

7878
- (FlutterEngine*)makeEngine {
7979
NSString* engineName =
80-
[NSString stringWithFormat:@"%@.%d", self.name, ++self.enginesCreatedCount];
80+
[NSString stringWithFormat:@"%@.%lu", self.name, ++self.enginesCreatedCount];
8181
return [[FlutterEngine alloc] initWithName:engineName project:self.project];
8282
}
8383

0 commit comments

Comments
 (0)