From f7766099ff0521f3ae036e3d6683659883737d4c Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 29 Nov 2013 19:00:52 +0000 Subject: fairly simple unsigned char casts for ctype ok krw --- lib/libkeynote/keynote.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libkeynote/keynote.y') 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] == '.') { -- cgit v1.2.3