kasadmin-prototyping-20050816
authorDerrick Brashear <shadow@dementia.org>
Tue, 16 Aug 2005 19:09:49 +0000 (19:09 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 16 Aug 2005 19:09:49 +0000 (19:09 +0000)
FIXES 20766

make kasadmin module prototyping correct again

src/libadmin/kas/afs_kasAdmin.c

index fcd3472..620f75a 100644 (file)
@@ -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 */