Skip to content

Commit

Permalink
Fix incompatible type warnings in Xcode
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayme Deffenbaugh committed Aug 19, 2020
1 parent e598502 commit 6e0b662
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion React/Base/RCTJSStackFrame.m
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ + (instancetype)stackFrameWithLine:(NSString *)line
file:file
lineNumber:[lineNumber integerValue]
column:[column integerValue]
collapse:@NO];
collapse:@NO.integerValue];
}

+ (instancetype)stackFrameWithDictionary:(NSDictionary *)dict
Expand Down
2 changes: 1 addition & 1 deletion React/Base/RCTKeyCommands.m
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ + (void)initialize
- (void)handleKeyUIEventSwizzle:(UIEvent *)event
{
NSString *modifiedInput = nil;
UIKeyModifierFlags *modifierFlags = nil;
UIKeyModifierFlags modifierFlags = 0;
BOOL isKeyDown = NO;

if ([event respondsToSelector:@selector(_modifiedInput)]) {
Expand Down
2 changes: 1 addition & 1 deletion React/Base/RCTModuleData.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ typedef id<RCTBridgeModule> (^RCTBridgeModuleProvider)(void);
@end

RCT_EXTERN void RCTSetIsMainQueueExecutionOfConstantsToExportDisabled(BOOL val);
RCT_EXTERN BOOL RCTIsMainQueueExecutionOfConstantsToExportDisabled();
RCT_EXTERN BOOL RCTIsMainQueueExecutionOfConstantsToExportDisabled(void);

0 comments on commit 6e0b662

Please sign in to comment.