X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Futil%2Fafsutil.h;h=4256620b5c8c036d785dcac726c51444974c65a9;hp=dcc58a81a9ef57f8f39df952c247685bf758fc31;hb=55bb14eb8d1f6d353eb9943b83c672acc35e7a07;hpb=3c6509369da4e2ca08096d6ffcdda8beb1b56dd1 diff --git a/src/util/afsutil.h b/src/util/afsutil.h index dcc58a8..4256620 100644 --- a/src/util/afsutil.h +++ b/src/util/afsutil.h @@ -112,9 +112,15 @@ int base32_to_int(char *s); * early in name. */ typedef char lb64_string_t[12]; +#ifdef AFS_64BIT_ENV +#define int32_to_flipbase64(S, A) int64_to_flipbase64(S, (afs_int64)(A)) char *int64_to_flipbase64(b64_string_t s, afs_int64 a); +afs_int64 flipbase64_to_int64(char *s); +#else +#define int32_to_flipbase64(S, A) int64_to_flipbase64(S, (u_int64_t)(A)) +char *int64_to_flipbase64(b64_string_t s, u_int64_t a); int64_t flipbase64_to_int64(char *s); -#define int32_to_flipbase64(S, A) int64_to_flipbase64(S, (afs_int64)(A)) +#endif #endif /* This message preserves our ability to license AFS to the U.S. Government