summaryrefslogtreecommitdiffstats
path: root/client/x11/event_sources_p.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/event_sources_p.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/event_sources_p.cpp')
-rw-r--r--client/x11/event_sources_p.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/x11/event_sources_p.cpp b/client/x11/event_sources_p.cpp
index 1958a04d..5f9f4523 100644
--- a/client/x11/event_sources_p.cpp
+++ b/client/x11/event_sources_p.cpp
@@ -119,7 +119,7 @@ bool EventSources::wait_events(int timeout_msec)
return false;
}
- for (int i = 0; i < _events.size(); i++) {
+ for (unsigned int i = 0; i < _events.size(); i++) {
if (FD_ISSET(_fds[i], &rfds)) {
_events[i]->action();
/* The action may have removed / added event sources changing