open-vm-tools/open-vm-tools-gcc11.patch
Miroslav Rezanina f03a1b1fc8 Fix to open-vm-tools-11.2.5-2 build
Resolves: bz#1936382
2021-04-09 13:04:47 +02:00

14 lines
411 B
Diff

diff --git a/open-vm-tools/lib/pollGtk/pollGtk.c b/open-vm-tools/lib/pollGtk/pollGtk.c
index 4ccaeda..336a8bf 100644
--- a/open-vm-tools/lib/pollGtk/pollGtk.c
+++ b/open-vm-tools/lib/pollGtk/pollGtk.c
@@ -127,7 +127,7 @@ typedef struct Poll {
} Poll;
static Poll *pollState;
-static volatile gsize inited = 0;
+static gsize inited = 0;
static VMwareStatus
PollGtkCallback(PollClassSet classSet, // IN