]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-kasadmin-prototyping-20050816
authorDerrick Brashear <shadow@dementia.org>
Tue, 16 Aug 2005 19:48:34 +0000 (19:48 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 16 Aug 2005 19:48:34 +0000 (19:48 +0000)
FIXES 20766

make kasadmin module prototyping correct again

(cherry picked from commit cc2c8c3a8efe073ff20dca356e859d0dbdcd62d9)

src/libadmin/kas/afs_kasAdmin.c

index fcd3472761e1fa793564380ea3d0346f6d7e7df7..620f75acdd85333fbc054c3dbf499a866868d43a 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 */