From 4f2920cbc1ddc151a2a9ee690f31a1dec156bc44 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 23 May 2014 18:51:33 +0200 Subject: [PATCH] Fix a couple of compiler warnings. --- mono/utils/mono-threads-mach-helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mono/utils/mono-threads-mach-helper.c b/mono/utils/mono-threads-mach-helper.c index 0e95d4e878e..d072050078d 100644 --- a/mono/utils/mono-threads-mach-helper.c +++ b/mono/utils/mono-threads-mach-helper.c @@ -93,8 +93,8 @@ mono_threads_install_dead_letter (void) void mono_threads_init_dead_letter (void) { - id nsstring = objc_getClass ("NSString"); - id nsautoreleasepool = objc_getClass ("NSAutoreleasePool"); + id nsstring = (id) objc_getClass ("NSString"); + id nsautoreleasepool = (id) objc_getClass ("NSAutoreleasePool"); SEL stringWithUTF8String = sel_registerName ("stringWithUTF8String:"); SEL retain = sel_registerName ("retain"); id pool; -- 2.25.1