From: Derrick Brashear Date: Tue, 16 Aug 2005 19:48:34 +0000 (+0000) Subject: STABLE14-kasadmin-prototyping-20050816 X-Git-Tag: openafs-stable-1_4_0-rc1~12 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=5c8ae917d034e663aa93e8570192680b94ab06f1;p=packages%2Fo%2Fopenafs.git STABLE14-kasadmin-prototyping-20050816 FIXES 20766 make kasadmin module prototyping correct again (cherry picked from commit cc2c8c3a8efe073ff20dca356e859d0dbdcd62d9) --- diff --git a/src/libadmin/kas/afs_kasAdmin.c b/src/libadmin/kas/afs_kasAdmin.c index fcd347276..620f75acd 100644 --- a/src/libadmin/kas/afs_kasAdmin.c +++ b/src/libadmin/kas/afs_kasAdmin.c @@ -716,7 +716,7 @@ GetPrincipalLockStatus(const kas_server_p kaserver, const kas_identity_p who, locked = 0; tst = ubik_CallIter(KAM_LockStatus, kaserver->servers, UPUBIKONLY, - &count, who->principal, who->instance, &locked, 0, + &count, (long)who->principal, (long)who->instance, (long)&locked, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); if (tst == 0) { if (locked) { @@ -1273,8 +1273,8 @@ kas_PrincipalUnlock(const void *cellHandle, const void *serverHandle, do { tst = ubik_CallIter(KAM_Unlock, kaserver.servers, 0, &count, - who->principal, who->instance, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0); + (long)who->principal, (long)who->instance, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); if (tst && (tst != UNOSERVERS)) { if (save_tst == 0) { save_tst = tst; /* save the first failure */