From 56e0a94d3c3e17dc425f33dfbd8549a5ed1acdd1 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Fri, 22 Jun 2001 14:36:24 +0000 Subject: [PATCH] * adm_conn.c (kadm_get_ccache): Cast return from getpid() to int to match format. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13491 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/v5passwdd/ChangeLog | 5 +++++ src/kadmin/v5passwdd/adm_conn.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/kadmin/v5passwdd/ChangeLog b/src/kadmin/v5passwdd/ChangeLog index e7a25a879..2daf4015d 100644 --- a/src/kadmin/v5passwdd/ChangeLog +++ b/src/kadmin/v5passwdd/ChangeLog @@ -1,3 +1,8 @@ +2001-06-22 Ezra Peisach + + * adm_conn.c (kadm_get_ccache): Cast return from getpid() to int + to match format. + 2001-06-21 Ken Raeburn * adm_conn.c, kpasswd.c, srv_net.c: Changed various char string diff --git a/src/kadmin/v5passwdd/adm_conn.c b/src/kadmin/v5passwdd/adm_conn.c index e96c7f1e3..911d7b3d9 100644 --- a/src/kadmin/v5passwdd/adm_conn.c +++ b/src/kadmin/v5passwdd/adm_conn.c @@ -138,7 +138,7 @@ kadm_get_ccache(kcontext, user, ccname, ccache, client) #ifdef _MACINTOSH (void) sprintf(new_cache, "STDIO:admcc"); #else - (void) sprintf(new_cache, kadm_cache_name_fmt, getpid()); + (void) sprintf(new_cache, kadm_cache_name_fmt, (int) getpid()); #endif /* _MACINTOSH */ #endif /* _MSDOS || _WIN32 */ } -- 2.26.2