[Spice-devel] [PATCH 15/20] mingw: fix another signed/unsigned warning
Christophe Fergeau
cfergeau at redhat.com
Thu Mar 1 02:17:49 PST 2012
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
More information about the Spice-devel
mailing list