diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2000-06-13 19:16:17 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2000-06-13 19:16:17 +0000 |
commit | 3a25c3d35f91219f057184bfadea17a79cb0b52d (patch) | |
tree | 67f9d14a86e1067a89fb9b536e5b39f9c011c9be /lib/libkeynote/base64.c | |
parent | 84cf02cb48c8b538772372b640e0e33e4fde37ee (diff) |
Fix some compile warnings.
Diffstat (limited to 'lib/libkeynote/base64.c')
-rw-r--r-- | lib/libkeynote/base64.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libkeynote/base64.c b/lib/libkeynote/base64.c index 54cd3e6447b..2abd279242a 100644 --- a/lib/libkeynote/base64.c +++ b/lib/libkeynote/base64.c @@ -1,4 +1,4 @@ -/* $OpenBSD: base64.c,v 1.6 1999/10/26 22:31:37 angelos Exp $ */ +/* $OpenBSD: base64.c,v 1.7 2000/06/13 19:16:15 angelos Exp $ */ /* * Copyright (c) 1996 by Internet Software Consortium. * @@ -257,7 +257,7 @@ unsigned int targsize; tarindex = 0; while ((ch = *src++) != '\0') { - if (isspace(ch)) /* Skip whitespace anywhere. */ + if (isspace((int) ch)) /* Skip whitespace anywhere. */ continue; if (ch == Pad64) @@ -340,7 +340,7 @@ unsigned int targsize; case 2: /* Valid, means one byte of info */ /* Skip any number of spaces. */ for (; ch != '\0'; ch = *src++) - if (!isspace(ch)) + if (!isspace((int) ch)) break; /* Make sure there is another trailing = sign. */ if (ch != Pad64) |