* adm_conn.c (kadm_get_ccache): Cast return from getpid() to int
authorEzra Peisach <epeisach@mit.edu>
Fri, 22 Jun 2001 14:36:24 +0000 (14:36 +0000)
committerEzra Peisach <epeisach@mit.edu>
Fri, 22 Jun 2001 14:36:24 +0000 (14:36 +0000)
to match format.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13491 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/v5passwdd/ChangeLog
src/kadmin/v5passwdd/adm_conn.c

index e7a25a8790c45835649c95ce11f7b75c237184bb..2daf4015dccf4fd0a451c6a342f5ff53e5813364 100644 (file)
@@ -1,3 +1,8 @@
+2001-06-22  Ezra Peisach  <epeisach@mit.edu>
+
+       * adm_conn.c (kadm_get_ccache): Cast return from getpid() to int
+       to match format.
+
 2001-06-21  Ken Raeburn  <raeburn@mit.edu>
 
        * adm_conn.c, kpasswd.c, srv_net.c: Changed various char string
index e96c7f1e3a4de34a91b1c3fcfa090d199f13242d..911d7b3d90d1298c9c02555203e4cb6adef09185 100644 (file)
@@ -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 */
     }