Skip to content

Commit ed02288

Browse files
authored
Fixes incorrect boolean cast on macos (#400)
2 parents 902ed7d + e6e310a commit ed02288

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ios/OPSQLite.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ - (NSDictionary *)getConstants {
116116
NSLibraryDirectory, NSUserDomainMask, true) objectAtIndex:0];
117117

118118
NSString *filename = args[@"filename"];
119-
BOOL overwrite = args[@"overwrite"];
119+
BOOL overwrite = [args[@"overwrite"] boolValue];
120120

121121
NSString *sourcePath = [[NSBundle mainBundle] pathForResource:filename
122122
ofType:nil];

0 commit comments

Comments
 (0)