From aa8047d68b9c558e632d37f3ebb3e2325978c9ff Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 6 Nov 2002 09:14:33 +0000 Subject: [PATCH] use INT_MAX for the default max sizes --- src/client.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.cc b/src/client.cc index 2279e57f..ec907538 100644 --- a/src/client.cc +++ b/src/client.cc @@ -235,7 +235,7 @@ void OBClient::updateNormalHints() _inc_x = _inc_y = 1; _base_x = _base_y = 0; _min_x = _min_y = 0; - _max_x = _max_y = (unsigned) -1; + _max_x = _max_y = INT_MAX; // get the hints from the window if (XGetWMNormalHints(otk::OBDisplay::display, _window, &size, &ret)) { -- 2.45.2