aboutsummaryrefslogtreecommitdiff
path: root/UnitTesting/GTMAppKitUnitTestingUtilities.m
diff options
context:
space:
mode:
Diffstat (limited to 'UnitTesting/GTMAppKitUnitTestingUtilities.m')
-rw-r--r--UnitTesting/GTMAppKitUnitTestingUtilities.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/UnitTesting/GTMAppKitUnitTestingUtilities.m b/UnitTesting/GTMAppKitUnitTestingUtilities.m
index ff9442e..6f51410 100644
--- a/UnitTesting/GTMAppKitUnitTestingUtilities.m
+++ b/UnitTesting/GTMAppKitUnitTestingUtilities.m
@@ -175,8 +175,9 @@ void GTMRestoreColorProfile(void) {
// COV_NF_START
// No way to force this case in a unittest.
_GTMDevLog(@"Failed to restore previous color profile! "
- "You may need to open System Preferences : Displays : Color "
- "and manually restore your color settings. (Error: %i)", error);
+ @"You may need to open System Preferences : Displays : Color "
+ @"and manually restore your color settings. (Error: %ld)",
+ (long)error);
// COV_NF_END
} else {
_GTMDevLog(@"Color profile restored");