summaryrefslogtreecommitdiff
path: root/src/client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cc')
-rw-r--r--src/client.cc2
1 files changed, 1 insertions, 1 deletions
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)) {