diff options
Diffstat (limited to 'usr.sbin/acme-client/parse.y')
-rw-r--r-- | usr.sbin/acme-client/parse.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/acme-client/parse.y b/usr.sbin/acme-client/parse.y index 5f7785bbb32..220269ed279 100644 --- a/usr.sbin/acme-client/parse.y +++ b/usr.sbin/acme-client/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.32 2019/01/29 16:38:29 benno Exp $ */ +/* $OpenBSD: parse.y,v 1.33 2019/02/13 22:57:08 deraadt Exp $ */ /* * Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv> @@ -646,7 +646,7 @@ top: if (c == '-' || isdigit(c)) { do { *p++ = c; - if ((unsigned)(p-buf) >= sizeof(buf)) { + if ((size_t)(p-buf) >= sizeof(buf)) { yyerror("string too long"); return findeol(); } @@ -685,7 +685,7 @@ nodigits: if (isalnum(c) || c == ':' || c == '_') { do { *p++ = c; - if ((unsigned)(p-buf) >= sizeof(buf)) { + if ((size_t)(p-buf) >= sizeof(buf)) { yyerror("string too long"); return (findeol()); } |