From 5c8ae917d034e663aa93e8570192680b94ab06f1 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Tue, 16 Aug 2005 19:48:34 +0000 Subject: [PATCH] STABLE14-kasadmin-prototyping-20050816 FIXES 20766 make kasadmin module prototyping correct again (cherry picked from commit cc2c8c3a8efe073ff20dca356e859d0dbdcd62d9) --- src/libadmin/kas/afs_kasAdmin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 */ -- 2.39.5