Fix a warning.
authorZoltan Varga <vargaz@gmail.com>
Thu, 14 Jul 2016 17:46:15 +0000 (13:46 -0400)
committerZoltan Varga <vargaz@gmail.com>
Thu, 14 Jul 2016 17:46:21 +0000 (13:46 -0400)
mono/utils/mono-threads.c

index 6ebe007a3c6d583db8d05fd2a724a81e10b76cc8..5b4eaba983b9c1720349f420546c179d4f56f408 100644 (file)
@@ -642,7 +642,7 @@ mono_threads_init (MonoThreadInfoCallbacks *callbacks, size_t info_size)
        gboolean res;
        threads_callbacks = *callbacks;
        thread_info_size = info_size;
-       char *sleepLimit;
+       const char *sleepLimit;
 #ifdef HOST_WIN32
        res = mono_native_tls_alloc (&thread_info_key, NULL);
        res = mono_native_tls_alloc (&thread_exited_key, NULL);