diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-29 19:00:52 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-29 19:00:52 +0000 |
commit | f7766099ff0521f3ae036e3d6683659883737d4c (patch) | |
tree | 58ef64696038c443924d4eb8190a711a49703d08 /lib/libkeynote/keynote.y | |
parent | 32b4cc06b820e70b40cb6c9d9b528f9832a5ea18 (diff) |
fairly simple unsigned char casts for ctype
ok krw
Diffstat (limited to 'lib/libkeynote/keynote.y')
-rw-r--r-- | lib/libkeynote/keynote.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libkeynote/keynote.y b/lib/libkeynote/keynote.y index c3d29bb15c5..d46c9efcef5 100644 --- a/lib/libkeynote/keynote.y +++ b/lib/libkeynote/keynote.y @@ -1,4 +1,4 @@ -/* $OpenBSD: keynote.y,v 1.15 2004/06/29 11:35:56 msf Exp $ */ +/* $OpenBSD: keynote.y,v 1.16 2013/11/29 19:00:51 deraadt Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu) * @@ -827,7 +827,7 @@ isfloatstring(char *s) int i, point = 0; for (i = strlen(s) - 1; i >= 0; i--) - if (!isdigit((int) s[i])) + if (!isdigit((unsigned char)s[i])) { if (s[i] == '.') { |