]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/x11/x11_window.cpp
Use long instead of int32_t when passing 32-bits value to XChangeProperty.
[vlc] / modules / gui / skins2 / x11 / x11_window.cpp
index 8ee0b069959727a6d6b55b3604a59b73177ed3dc..b97649776fe5f67748950e2178181f44830aa649 100644 (file)
@@ -73,11 +73,11 @@ X11Window::X11Window( intf_thread_t *pIntf, GenericWindow &rWindow,
 
     // Changing decorations
     struct {
-        uint32_t flags;
-        uint32_t functions;
-        uint32_t decorations;
-        int32_t  input_mode;
-        uint32_t status;
+        unsigned long flags;
+        unsigned long functions;
+        unsigned long decorations;
+        signed   long input_mode;
+        unsigned long status;
     } motifWmHints;
     Atom hints_atom = XInternAtom( XDISPLAY, "_MOTIF_WM_HINTS", False );
     motifWmHints.flags = 2;    // MWM_HINTS_DECORATIONS;