aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authorokan2017-04-26 21:10:54 +0000
committerokan2017-04-26 21:10:54 +0000
commit330b5911cc616eb9653cf2add7574885d4b91304 (patch)
tree9681cfe439a028482c6ae169fa06fac7090fd5b3 /parse.y
parent978cbcbbb085230a4d270c6288c8e7a1554e3a9b (diff)
downloadcwm-330b5911cc616eb9653cf2add7574885d4b91304.tar.gz
Switch bwidth type; unfortunately X11 is inconsistent.
Diffstat (limited to '')
-rw-r--r--parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse.y b/parse.y
index 65db97b..e7eaf18 100644
--- a/parse.y
+++ b/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.67 2016/12/01 17:17:27 okan Exp $ */
+/* $OpenBSD: parse.y,v 1.68 2017/04/26 21:10:54 okan Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -116,7 +116,7 @@ main : FONTNAME STRING {
conf->stickygroups = $2;
}
| BORDERWIDTH NUMBER {
- if ($2 < 0 || $2 > UINT_MAX) {
+ if ($2 < 0 || $2 > INT_MAX) {
yyerror("invalid borderwidth");
YYERROR;
}