aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/css.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css.hh b/src/css.hh
index f948632f..c6749fe2 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -83,7 +83,7 @@ typedef enum {
inline CssLength CSS_CREATE_LENGTH (float v, CssLengthType t) {
static const int CSS_LENGTH_FRAC_MAX = (1 << (32 - 15 - 1)) - 1;
- static const int CSS_LENGTH_INT_MAX = 1 << (32 - 4) - 1;
+ static const int CSS_LENGTH_INT_MAX = (1 << (32 - 4)) - 1;
int iv;
switch (t) {