From: Ezra Peisach Date: Tue, 3 Oct 2000 19:06:35 +0000 (+0000) Subject: * copy_addrs.c (krb5_copy_addresses): Cleanup unsigned vs signed X-Git-Tag: krb5-1.3-alpha1~1861 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4494d0384966882d60625e4a9527c20537d532ac;p=krb5.git * copy_addrs.c (krb5_copy_addresses): Cleanup unsigned vs signed warnings as arguments to malloc(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12718 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index b6a5bc4ae..62d67fea0 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,8 @@ +2000-10-03 Ezra Peisach + + * copy_addrs.c (krb5_copy_addresses): Cleanup unsigned vs signed + warnings as arguments to malloc(). + Tue Sep 26 13:00:54 2000 Ezra Peisach * conv_princ.c (krb5_425_conv_principal): Call profile_free_list diff --git a/src/lib/krb5/krb/copy_addrs.c b/src/lib/krb5/krb/copy_addrs.c index a99ae9af1..0a2820402 100644 --- a/src/lib/krb5/krb/copy_addrs.c +++ b/src/lib/krb5/krb/copy_addrs.c @@ -64,7 +64,7 @@ krb5_copy_addresses(context, inaddr, outaddr) { krb5_error_code retval; krb5_address ** tempaddr; - register int nelems = 0; + register unsigned int nelems = 0; if (!inaddr) { *outaddr = 0; @@ -104,7 +104,7 @@ krb5_append_addresses(context, inaddr, outaddr) krb5_error_code retval; krb5_address ** tempaddr; krb5_address ** tempaddr2; - register int nelems = 0; + register unsigned int nelems = 0; register int norigelems = 0; if (!inaddr)