From ede50570dab93be6d8dce309e85918f538d3d100 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Fri, 6 Jul 2001 17:54:35 +0000 Subject: [PATCH] * conv_princ.c (krb5_425_conv_principal): Cast argument to tolower to int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13575 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 3 +++ src/lib/krb5/krb/conv_princ.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 0ff195f00..17ad9ca04 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,5 +1,8 @@ 2001-07-06 Ezra Peisach + * conv_princ.c (krb5_425_conv_principal): Cast argument to tolower + to int. + * get_in_tkt.c: Include os-proto.h for _krb5_conf_boolean prototype. * Makefile.in (LOCALINCLUDES): Add -I$(srcdir)/../os so os-proto.h diff --git a/src/lib/krb5/krb/conv_princ.c b/src/lib/krb5/krb/conv_princ.c index fb1e3465f..71c5d27b0 100644 --- a/src/lib/krb5/krb/conv_princ.c +++ b/src/lib/krb5/krb/conv_princ.c @@ -319,7 +319,7 @@ krb5_425_conv_principal(context, name, instance, realm, princ) if (domain) { for (cp = domain; *cp; cp++) if (isupper((int) (*cp))) - *cp = tolower(*cp); + *cp = tolower((int) *cp); strncat(buf, ".", sizeof(buf) - 1 - strlen(buf)); strncat(buf, domain, sizeof(buf) - 1 - strlen(buf)); krb5_xfree(domain); -- 2.26.2