diff options
author | 2013-11-27 18:38:39 +0000 | |
---|---|---|
committer | 2013-11-27 18:38:39 +0000 | |
commit | c0bc16231424f071607ba29937ef7bed9b8fd129 (patch) | |
tree | 578212f30bbe58247923659d53ea08364ffe14b2 /usr.sbin/relayd/log.c | |
parent | If the v_type is going to change when loading the NFS attribute cache, (diff) | |
download | wireguard-openbsd-c0bc16231424f071607ba29937ef7bed9b8fd129.tar.xz wireguard-openbsd-c0bc16231424f071607ba29937ef7bed9b8fd129.zip |
unsigned char for ctype
Diffstat (limited to 'usr.sbin/relayd/log.c')
-rw-r--r-- | usr.sbin/relayd/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/relayd/log.c b/usr.sbin/relayd/log.c index 3e0ba36f1c2..ac269af3e7f 100644 --- a/usr.sbin/relayd/log.c +++ b/usr.sbin/relayd/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.19 2013/03/10 23:32:53 reyk Exp $ */ +/* $OpenBSD: log.c,v 1.20 2013/11/27 18:38:39 deraadt Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -445,7 +445,7 @@ printb_flags(const u_int32_t v, const char *bits) if (c == '_') *p++ = ' '; else - *p++ = tolower(c); + *p++ = tolower((unsigned char)c); } } else for (; *bits > 32; bits++) |