forked from pool/mono-core
62d2d5bd5a
OBS-URL: https://build.opensuse.org/request/show/282640 OBS-URL: https://build.opensuse.org/package/show/Mono:Factory/mono-core?expand=0&rev=138
23 lines
710 B
Diff
23 lines
710 B
Diff
From b27d0248772e0b3288fba4f7328bfea1a6693689 Mon Sep 17 00:00:00 2001
|
|
From: Zoltan Varga <vargaz@gmail.com>
|
|
Date: Thu, 15 Jan 2015 14:41:51 -0500
|
|
Subject: [PATCH] Fix a warning.
|
|
|
|
---
|
|
mono/metadata/gc.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/mono/metadata/gc.c b/mono/metadata/gc.c
|
|
index 921898a..8b54037 100644
|
|
--- a/mono/metadata/gc.c
|
|
+++ b/mono/metadata/gc.c
|
|
@@ -1223,7 +1223,7 @@ mono_gc_cleanup (void)
|
|
ret = WaitForSingleObjectEx (gc_thread->handle, INFINITE, TRUE);
|
|
g_assert (ret == WAIT_OBJECT_0);
|
|
|
|
- mono_thread_join (MONO_UINT_TO_NATIVE_THREAD_ID (gc_thread->tid));
|
|
+ mono_thread_join (GUINT_TO_POINTER (gc_thread->tid));
|
|
}
|
|
}
|
|
gc_thread = NULL;
|