summaryrefslogtreecommitdiff
path: root/app/cwm/parse.y
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2017-04-26 21:10:55 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2017-04-26 21:10:55 +0000
commit027f7ec92b62991c6307abb32aeb141d2b078f75 (patch)
tree27c857f24a400a13a571b8a082591f0ec582c49b /app/cwm/parse.y
parent0a44bdc49a532c93b21718d3883d7da59e334740 (diff)
Switch bwidth type; unfortunately X11 is inconsistent.
Diffstat (limited to 'app/cwm/parse.y')
-rw-r--r--app/cwm/parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/parse.y b/app/cwm/parse.y
index 65db97bd8..e7eaf182e 100644
--- a/app/cwm/parse.y
+++ b/app/cwm/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;
}