Switch bwidth type; unfortunately X11 is inconsistent.

This commit is contained in:
okan
2017-04-26 21:10:54 +00:00
parent 15b9a8fe27
commit 4d85e2e2a6
3 changed files with 7 additions and 7 deletions

View File

@@ -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;
}