Get rid of the macros in mono-tls.h to fix many warnings.
[mono.git] / mono / mini / mini-llvm.c
index ac5adf9f15af21ee9859fbb1963e0bf142065473..f72eb8a85b6f553b7293798f41527ac0106ad43a 100644 (file)
@@ -5100,7 +5100,7 @@ add_intrinsics (LLVMModuleRef module)
 void
 mono_llvm_init (void)
 {
-       mono_native_tls_alloc (current_cfg_tls_id, NULL);
+       mono_native_tls_alloc (&current_cfg_tls_id, NULL);
 }
 
 static void