Skip to content

Commit ae07a65

Browse files
Merge pull request #1111 from jneidlinger/fix_xcode11
Fix Xcode 11 (Beta) build error (implicit conversion warning)
2 parents 6f251b3 + 1b466d5 commit ae07a65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/KIFSystemTestActor.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ - (void)simulateMemoryWarning
5858

5959
- (void)simulateDeviceRotationToOrientation:(UIDeviceOrientation)orientation
6060
{
61-
[[UIDevice currentDevice] setValue:[NSNumber numberWithInt:orientation] forKey:@"orientation"];
61+
[[UIDevice currentDevice] setValue:@(orientation) forKey:@"orientation"];
6262
}
6363

6464

0 commit comments

Comments
 (0)