summaryrefslogtreecommitdiffstats
path: root/client/x11/red_window.cpp
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-01-23 15:49:22 +0100
committerHans de Goede <hdegoede@redhat.com>2012-01-23 15:58:13 +0100
commita0190fce2302b8051f744c5cf38c1b334d77d11e (patch)
treef027a95359e0ebff2a44aa6ebbef21c06f883ee2 /client/x11/red_window.cpp
parent459a4dba56bad9dbfb529723eee063c138baccce (diff)
downloadspice-a0190fce2302b8051f744c5cf38c1b334d77d11e.tar.gz
spice-a0190fce2302b8051f744c5cf38c1b334d77d11e.tar.xz
spice-a0190fce2302b8051f744c5cf38c1b334d77d11e.zip
Fix various comparison between signed and unsigned integer expressions warnings
These turn into errors because of our -Werror use, breaking the build. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'client/x11/red_window.cpp')
-rw-r--r--client/x11/red_window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/x11/red_window.cpp b/client/x11/red_window.cpp
index e0b7d456..b16249ea 100644
--- a/client/x11/red_window.cpp
+++ b/client/x11/red_window.cpp
@@ -922,7 +922,7 @@ void RedWindow_p::win_proc(XEvent& event)
case ClientMessage:
if (event.xclient.message_type == wm_protocol_atom) {
ASSERT(event.xclient.format == 32);
- if (event.xclient.data.l[0] == wm_delete_window_atom) {
+ if ((Atom)event.xclient.data.l[0] == wm_delete_window_atom) {
DBG(0, "wm_delete_window");
Platform::send_quit_request();
}