From 9f8253a0a8d1b5cd34f6f14c8081d495c0e12ba1 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 3 Feb 2003 09:06:25 +0000 Subject: [PATCH] fix a signed/unsigned thing --- src/screen.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.45.2