VDAgent::_mouse_x and VDAgent::_mouse_y are both signed but are
always assigned values from VDAgentMouseState which are unsigned.
gcc warns about this so change them to unsigned values.
---
 vdagent/vdagent.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vdagent/vdagent.cpp b/vdagent/vdagent.cpp
index a288861..66b92de 100644
--- a/vdagent/vdagent.cpp
+++ b/vdagent/vdagent.cpp
@@ -111,8 +111,8 @@ private:
     HWND _hwnd_next_viewer;
     int _clipboard_owner;
     DWORD _buttons_state;
-    LONG _mouse_x;
-    LONG _mouse_y;
+    ULONG _mouse_x;
+    ULONG _mouse_y;
     INPUT _input;
     DWORD _input_time;
     HANDLE _control_event;
-- 
1.7.7.6

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to