More fun with older OS X (nw)

This commit is contained in:
R. Belmont 2013-01-13 21:12:07 +00:00
parent acda6787a3
commit da131139f2

View File

@ -47,7 +47,7 @@ static void *Pt_CallbackProc(void *p)
(thread_policy_t)&extendedPolicy,
THREAD_EXTENDED_POLICY_COUNT);
if (error != KERN_SUCCESS) {
mach_error("Couldn't set thread timeshare policy", error);
mach_error((char *)"Couldn't set thread timeshare policy", error);
}
precedencePolicy.importance = THREAD_IMPORTANCE;
@ -55,7 +55,7 @@ static void *Pt_CallbackProc(void *p)
(thread_policy_t)&precedencePolicy,
THREAD_PRECEDENCE_POLICY_COUNT);
if (error != KERN_SUCCESS) {
mach_error("Couldn't set thread precedence policy", error);
mach_error((char *)"Couldn't set thread precedence policy", error);
}