diff options
author | 2013-01-13 21:12:07 +0000 | |
---|---|---|
committer | 2013-01-13 21:12:07 +0000 | |
commit | da131139f2e9c4a0b839beeb01078cf8045d38db (patch) | |
tree | 91625b4974c27d1f2f4a1b3f7827e1520565d9fd | |
parent | acda6787a32457d77ed41bf52a17b3d7413de9f8 (diff) |
More fun with older OS X (nw)
-rw-r--r-- | src/lib/portmidi/ptmacosx_mach.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/portmidi/ptmacosx_mach.c b/src/lib/portmidi/ptmacosx_mach.c index 40cae5edf3d..10ffcb62132 100644 --- a/src/lib/portmidi/ptmacosx_mach.c +++ b/src/lib/portmidi/ptmacosx_mach.c @@ -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); } |