return FALSE;
}
- if (!libnfs_zdr_bytes(zdrs, &auth->oa_base, &auth->oa_length, &auth->oa_length)) {
+ if (!libnfs_zdr_bytes(zdrs, &auth->oa_base, &auth->oa_length, auth->oa_length)) {
return FALSE;
}
auth->ah_cred.oa_length = size;
auth->ah_cred.oa_base = malloc(size);
- buf = auth->ah_cred.oa_base;
+ buf = (uint32_t *)auth->ah_cred.oa_base;
idx = 0;
buf[idx++] = htonl(time(NULL));
buf[idx++] = htonl(strlen(host));