aboutsummaryrefslogtreecommitdiff
path: root/Foundation
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2014-10-09 17:00:06 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2014-10-09 17:00:06 +0000
commit79de9414ada9b15d2346595501fecb01ce5a1ec6 (patch)
tree232e7df4020171d6a2c79ad361eb436418528148 /Foundation
parentd4de0580824ea0e908be669e30c63ae3696975d0 (diff)
Fix formatting for OS X 10.4 to avoid usage of %z and %t.
Change stringWithContentsOfFile to explicitly specify the encoding (again, 10.4 fix) DELTA=85 (4 added, 2 deleted, 79 changed) DELTA_BY_EXTENSION=c=3,m=80
Diffstat (limited to 'Foundation')
-rw-r--r--Foundation/GTMServiceManagement.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Foundation/GTMServiceManagement.c b/Foundation/GTMServiceManagement.c
index efdc68e..9027f43 100644
--- a/Foundation/GTMServiceManagement.c
+++ b/Foundation/GTMServiceManagement.c
@@ -193,8 +193,8 @@ launch_data_t GTMLaunchDataCreateFromCFType(CFTypeRef cf_type_ref,
free(buffer);
} else {
local_error = GTMCFLaunchCreateUnlocalizedError(ENOMEM,
- CFSTR("calloc of %zu failed"),
- buffer_size);
+ CFSTR("calloc of %lu failed"),
+ (unsigned long)buffer_size);
}
} else if (cf_type == CFBooleanGetTypeID()) {
result = launch_data_alloc(LAUNCH_DATA_BOOL);
@@ -278,7 +278,7 @@ launch_data_t GTMLaunchDataCreateFromCFType(CFTypeRef cf_type_ref,
local_error
= GTMCFLaunchCreateUnlocalizedError(EINVAL,
CFSTR("Unknown CFTypeID %lu"),
- cf_type);
+ (unsigned long)cf_type);
}
exit: