Fix compilation errors when compiling tests in release. (#245)

This commit is contained in:
Julian Rex
2020-03-30 16:27:05 -04:00
committed by GitHub
parent 9401f340e7
commit 4dbff0ff55
3 changed files with 6 additions and 6 deletions

View File

@@ -35,9 +35,9 @@
);
}
else {
NSLog(@"Assertion Failure: %@:%lu: %@ - %@",
NSLog(@"Assertion Failure: %@:%ld: %@ - %@",
fileName,
line,
(long)line,
condition,
description);
}
@@ -66,9 +66,9 @@
description);
}
else {
NSLog(@"Assertion Failure: %@:%lu: %@ - %@",
NSLog(@"Assertion Failure: %@:%ld: %@ - %@",
fileName,
line,
(long)line,
condition,
description);
}

View File

@@ -367,7 +367,7 @@ static const CGPoint kAnnotationRelativeScale = { 0.05f, 0.125f };
// Coord showsCallout impl margins? moveIntoView expectMapToPan calloutOnScreen
{ {offset, 0.5f}, YES, YES, YES, YES, YES },
{ {1.0 - offset, 0.5f}, YES, YES, YES, YES, YES },
{ {(CGFloat)(1.0 - offset), 0.5f}, YES, YES, YES, YES, YES },
PAN_TEST_TERMINATOR
};

View File

@@ -328,7 +328,7 @@
// Observes changes to pendingCompletionBlocks (including additions)
self.observation = ^(NSDictionary *change){
NSLog(@"change = %@ count = %lu", change, myself.mapView.pendingCompletionBlocks.count);
NSLog(@"change = %@ count = %lu", change, (unsigned long)myself.mapView.pendingCompletionBlocks.count);
NSArray *value = change[NSKeyValueChangeNewKey];