summaryrefslogtreecommitdiff
path: root/lib/libkeynote/keynote.y
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libkeynote/keynote.y')
-rw-r--r--lib/libkeynote/keynote.y4
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] == '.')
{