diff options
author | Ezra Peisach <epeisach@mit.edu> | 2000-06-30 19:51:59 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2000-06-30 19:51:59 +0000 |
commit | 6ea92e4dddac9d2a2b5c52aeb17d9b831cabeb34 (patch) | |
tree | 1a0aa60c22bde16a6d3158d12ee552d4abb2f503 /src/lib/krb5/os/ccdefname.c | |
parent | 5deb81eb52117be3533d315877e5fc791434085e (diff) | |
download | krb5-6ea92e4dddac9d2a2b5c52aeb17d9b831cabeb34.tar.gz krb5-6ea92e4dddac9d2a2b5c52aeb17d9b831cabeb34.tar.xz krb5-6ea92e4dddac9d2a2b5c52aeb17d9b831cabeb34.zip |
* t_an_to_ln.c: Include <stdio.h> for prototypes
* locate_kdc.c (krb5_locate_srv_dns): Remove unused variable.
* changepw.c, sendto_kdc.c, sn2princ.c: Add parentheses around
assignment used as truth value.
* ccdefname.c (get_from_os): Cast return from getuid() to long and
indicate use of format in sprintf.
gcc -Wall complaints.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12482 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/os/ccdefname.c')
-rw-r--r-- | src/lib/krb5/os/ccdefname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/os/ccdefname.c b/src/lib/krb5/os/ccdefname.c index 6b00e5286e..0c18a1e819 100644 --- a/src/lib/krb5/os/ccdefname.c +++ b/src/lib/krb5/os/ccdefname.c @@ -224,7 +224,7 @@ cleanup: #if !(defined(_MSDOS) || defined(_WIN32)) static krb5_error_code get_from_os(char *name_buf, int name_size) { - sprintf(name_buf, "FILE:/tmp/krb5cc_%d", getuid()); + sprintf(name_buf, "FILE:/tmp/krb5cc_%ld", (long) getuid()); return 0; } #endif |