summaryrefslogtreecommitdiff
path: root/emulators/open-vm-tools/files/patch-lib_pollGtk_pollGtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/open-vm-tools/files/patch-lib_pollGtk_pollGtk.c')
-rw-r--r--emulators/open-vm-tools/files/patch-lib_pollGtk_pollGtk.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/open-vm-tools/files/patch-lib_pollGtk_pollGtk.c b/emulators/open-vm-tools/files/patch-lib_pollGtk_pollGtk.c
new file mode 100644
index 000000000000..abe899d9f45a
--- /dev/null
+++ b/emulators/open-vm-tools/files/patch-lib_pollGtk_pollGtk.c
@@ -0,0 +1,11 @@
+--- lib/pollGtk/pollGtk.c.orig 2021-08-03 01:31:55 UTC
++++ lib/pollGtk/pollGtk.c
+@@ -1485,7 +1485,7 @@ Poll_InitGtk(void)
+ PollLockingAlwaysEnabled,
+ };
+
+- if (g_once_init_enter(&inited)) {
++ if (g_once_init_enter((gsize *)&inited)) {
+ gsize didInit = 1;
+ Poll_InitWithImpl(&gtkImpl);
+ g_once_init_leave(&inited, didInit);