Skip to content

Commit 79a8767

Browse files
committed
fix: some ios build fixes
1 parent 6d5966f commit 79a8767

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

plugin/platforms/ios/src/BezierElement.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77

88
#import <Foundation/Foundation.h>
9-
#import <UIKit/UIKit.h>;
10-
#import <QuartzCore/QuartzCore.h>;
9+
#import <UIKit/UIKit.h>
10+
#import <QuartzCore/QuartzCore.h>
1111
// Block for transforming points
1212
typedef CGPoint (^PathBlock)(CGPoint point);
1313

plugin/platforms/ios/src/Utility.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ + (NSString *) loremWords: (NSUInteger) numberOfWords
222222
if (noise)
223223
return [UIColor colorWithPatternImage:noise];
224224

225-
srandom(time(0));
225+
srandom((int)time(0));
226226

227227
CGSize size = CGSizeMake(128, 128);
228228
UIGraphicsBeginImageContextWithOptions(size, NO, 0.0);

0 commit comments

Comments
 (0)