]> Dogcows Code - chaz/openbox/commitdiff
fix a signed/unsigned thing
authorDana Jansens <danakj@orodu.net>
Mon, 3 Feb 2003 09:06:25 +0000 (09:06 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 3 Feb 2003 09:06:25 +0000 (09:06 +0000)
src/screen.cc

index f8989a05a942949ad2ade4867a2bad798ca5b054..6170a5bb347d075bd68f006f5725b355b80e60e0 100644 (file)
@@ -717,7 +717,8 @@ void Screen::changeNumDesktops(long num)
   Client::List::iterator it, end = clients.end();
   for (it = clients.begin(); it != end; ++it) {
     int d = (*it)->desktop();
-    if (d >= num && !(d == 0xffffffff || d == Client::ICONIC_DESKTOP)) {
+    if (d >= num && !(d == (signed) 0xffffffff ||
+                      d == Client::ICONIC_DESKTOP)) {
       XEvent ce;
       ce.xclient.type = ClientMessage;
       ce.xclient.message_type = otk::Property::atoms.net_wm_desktop;
This page took 0.026916 seconds and 4 git commands to generate.