From: Derrick Brashear Date: Tue, 16 Aug 2005 19:09:49 +0000 (+0000) Subject: kasadmin-prototyping-20050816 X-Git-Tag: openafs-devel-1_5_0~373 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=cc2c8c3a8efe073ff20dca356e859d0dbdcd62d9;p=packages%2Fo%2Fopenafs.git kasadmin-prototyping-20050816 FIXES 20766 make kasadmin module prototyping correct again --- 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 */