From: Dana Jansens Date: Mon, 3 Feb 2003 09:06:25 +0000 (+0000) Subject: fix a signed/unsigned thing X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=9f8253a0a8d1b5cd34f6f14c8081d495c0e12ba1;p=chaz%2Fopenbox fix a signed/unsigned thing --- diff --git a/src/screen.cc b/src/screen.cc index f8989a05..6170a5bb 100644 --- a/src/screen.cc +++ b/src/screen.cc @@ -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;