Index: sys/nfs/nfs_common.h =================================================================== --- sys/nfs/nfs_common.h +++ sys/nfs/nfs_common.h @@ -131,7 +131,7 @@ #ifdef __NO_STRICT_ALIGNMENT #define nfsm_aligned(p, t) 1 #else -#define nfsm_aligned(p, t) ((((u_long)(p)) & (sizeof(t) - 1)) == 0) +#define nfsm_aligned(p, t) ((((intptr_t)(p)) & (sizeof(t) - 1)) == 0) #endif #endif