[glib: 1/3] Fix GCancellable tests for Windows 64bit
- From: Luca Bacci <lbacci src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/3] Fix GCancellable tests for Windows 64bit
- Date: Thu, 4 Aug 2022 19:33:44 +0000 (UTC)
commit a1737ece06dbce11f3773eb87083ff6f5316bdaa
Author: Luca Bacci <luca bacci982 gmail com>
Date: Wed Aug 3 20:33:21 2022 +0200
Fix GCancellable tests for Windows 64bit
Fixes https://gitlab.gnome.org/GNOME/glib/-/issues/2703
gio/tests/cancellable.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/tests/cancellable.c b/gio/tests/cancellable.c
index 5d8bf8a852..9fcd7520bd 100644
--- a/gio/tests/cancellable.c
+++ b/gio/tests/cancellable.c
@@ -468,7 +468,7 @@ typedef struct {
GCallback callback;
gboolean is_disconnecting;
gboolean is_resetting;
- gulong handler_id;
+ gpointer handler_id;
} ConnectingThreadData;
static void
@@ -496,7 +496,7 @@ connecting_thread (gpointer user_data)
g_main_context_push_thread_default (context);
loop = g_main_loop_new (context, FALSE);
- g_atomic_pointer_set (&data->handler_id, handler_id);
+ g_atomic_pointer_set (&data->handler_id, (gpointer) handler_id);
g_atomic_pointer_set (&data->loop, loop);
g_main_loop_run (loop);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]