summaryrefslogtreecommitdiffstats
path: root/sys/nfs4client
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nfs4client')
-rw-r--r--sys/nfs4client/nfs4_dev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfs4client/nfs4_dev.h b/sys/nfs4client/nfs4_dev.h
index 218f1de..4d4817c 100644
--- a/sys/nfs4client/nfs4_dev.h
+++ b/sys/nfs4client/nfs4_dev.h
@@ -47,7 +47,7 @@ struct nfs4dev_msg {
uint8_t msg_data[NFS4DEV_MSG_MAX_DATALEN];
};
-#define NFS4DEV_VERSION (0x3 << 16 | sizeof(struct nfs4dev_msg))
+#define NFS4DEV_VERSION (0x3 << 16 | (int) sizeof(struct nfs4dev_msg))
/* ioctl commands */
#define NFS4DEVIOCGET _IOR('A', 0x200, struct nfs4dev_msg)
OpenPOWER on IntegriCloud