aboutsummaryrefslogtreecommitdiff
path: root/UnitTesting/GTMAppKitUnitTestingUtilities.m
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2013-01-03 18:30:08 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2013-01-03 18:30:08 +0000
commit8b801a69e266d8dbb189ae6a9b890344df5c4bf0 (patch)
treed7908e2ec93bb650566cedb015f2c101400e9c4d /UnitTesting/GTMAppKitUnitTestingUtilities.m
parent3d42089a8fac73ca2c437fdfffaffc12ac540159 (diff)
[Author: thomasvl]
Fix up one compile warning found by Xcode. Use the newer directive to fix up the unittest bundle ids (flagged by newer Xcodes). Force the deployment version to 10.5 to avoid a bunch of the color sync dep. notices. R=dmaclach DELTA=7 (2 added, 0 deleted, 5 changed)
Diffstat (limited to 'UnitTesting/GTMAppKitUnitTestingUtilities.m')
-rw-r--r--UnitTesting/GTMAppKitUnitTestingUtilities.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/UnitTesting/GTMAppKitUnitTestingUtilities.m b/UnitTesting/GTMAppKitUnitTestingUtilities.m
index 6f51410..5d87541 100644
--- a/UnitTesting/GTMAppKitUnitTestingUtilities.m
+++ b/UnitTesting/GTMAppKitUnitTestingUtilities.m
@@ -205,8 +205,8 @@ void GTMSetColorProfileToGenericRGB(void) {
// No way to force this case in a unittest.
_GTMDevLog(@"Failed to get current color profile. "
"I will not be able to restore your current profile, thus I'm "
- "not changing it. Many unit tests may fail as a result. (Error: %i)",
- error);
+ "not changing it. Many unit tests may fail as a result. (Error: %li)",
+ (long)error);
return;
// COV_NF_END
}
@@ -230,7 +230,7 @@ void GTMSetColorProfileToGenericRGB(void) {
// COV_NF_START
// No way to force this case in a unittest.
_GTMDevLog(@"Failed to set color profile to \"%@\"! Many unit tests will fail as "
- "a result. (Error: %i)", genericProfileName, error);
+ "a result. (Error: %li)", genericProfileName, (long)error);
// COV_NF_END
} else {
gGTMCurrentColorProfile = previousProfile;