summaryrefslogtreecommitdiffstats
path: root/src/appl/gss-sample/gss-client.c
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2001-06-18 19:15:57 +0000
committerEzra Peisach <epeisach@mit.edu>2001-06-18 19:15:57 +0000
commit1daecf97f0391d59dc124a1bada7b0aa9470724e (patch)
tree67340a55d6775452f1462be4d5dace6b36f89a0f /src/appl/gss-sample/gss-client.c
parentd72b198e49e8bfb0bd58d98df38bad037c32eff4 (diff)
downloadkrb5-1daecf97f0391d59dc124a1bada7b0aa9470724e.tar.gz
krb5-1daecf97f0391d59dc124a1bada7b0aa9470724e.tar.xz
krb5-1daecf97f0391d59dc124a1bada7b0aa9470724e.zip
* gss-client.c (parse_oid): Cast argument to isdigit() to int
* gss-server.c (sign_server): Cast argument to isspace() to int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13379 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/gss-sample/gss-client.c')
-rw-r--r--src/appl/gss-sample/gss-client.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/appl/gss-sample/gss-client.c b/src/appl/gss-sample/gss-client.c
index 88c065e8f1..7fdc89fdc6 100644
--- a/src/appl/gss-sample/gss-client.c
+++ b/src/appl/gss-sample/gss-client.c
@@ -20,10 +20,6 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -547,7 +543,7 @@ static void parse_oid(char *mechanism, gss_OID *oid)
gss_buffer_desc tok;
OM_uint32 maj_stat, min_stat;
- if (isdigit(mechanism[0])) {
+ if (isdigit((int) mechanism[0])) {
mechstr = malloc(strlen(mechanism)+5);
if (!mechstr) {
fprintf(stderr, "Couldn't allocate mechanism scratch!\n");