From d45d9f738c83ba6fc3d62a71de06720d0a2c4edf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Sat, 31 Mar 2018 22:19:12 +0200 Subject: [PATCH] gthread: Fix incorrect cast --- glib/gthread-win32.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/glib/gthread-win32.c b/glib/gthread-win32.c index 20aca6fa1..30448fe43 100644 --- a/glib/gthread-win32.c +++ b/glib/gthread-win32.c @@ -580,7 +580,8 @@ SetThreadName (DWORD dwThreadID, #ifdef _MSC_VER __try { - RaiseException (EXCEPTION_SET_THREAD_NAME, 0, infosize, (DWORD *) &info); + RaiseException (EXCEPTION_SET_THREAD_NAME, 0, infosize, + (const ULONG_PTR *) &info); } __except (EXCEPTION_EXECUTE_HANDLER) {