Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/dist/heimdal/kdc Add (unsigned char) cast to ctype fu...
details: https://anonhg.NetBSD.org/src/rev/6e1cb277d59d
branches: trunk
changeset: 570819:6e1cb277d59d
user: dsl <dsl%NetBSD.org@localhost>
date: Sat Oct 30 08:34:24 2004 +0000
description:
Add (unsigned char) cast to ctype functions
diffstat:
crypto/dist/heimdal/kdc/connect.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 75535efa549e -r 6e1cb277d59d crypto/dist/heimdal/kdc/connect.c
--- a/crypto/dist/heimdal/kdc/connect.c Sat Oct 30 08:31:39 2004 +0000
+++ b/crypto/dist/heimdal/kdc/connect.c Sat Oct 30 08:34:24 2004 +0000
@@ -34,7 +34,7 @@
#include "kdc_locl.h"
__RCSID("$Heimdal: connect.c,v 1.90.2.2.2 2004/04/02 20:50:53 lha Exp $"
- "$NetBSD: connect.c,v 1.13 2004/04/02 20:58:36 lha Exp $");
+ "$NetBSD: connect.c,v 1.14 2004/10/30 08:34:24 dsl Exp $");
/*
* a tuple describing on what to listen
@@ -491,7 +491,7 @@
{
char *p, *q;
for(p = q = buf; *p; p++, q++) {
- if(*p == '%' && isxdigit(p[1]) && isxdigit(p[2])) {
+ if(*p == '%' && isxdigit((unsigned char)p[1]) && isxdigit((unsigned char)p[2])) {
unsigned int x;
if(sscanf(p + 1, "%2x", &x) != 1)
return -1;
Home |
Main Index |
Thread Index |
Old Index