summaryrefslogtreecommitdiffstats
path: root/sys/fs/smbfs
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-11-07 22:35:45 +0000
committerjhb <jhb@FreeBSD.org>2002-11-07 22:35:45 +0000
commit27637bef6ccda2ff13ee6ac3c36f47a3bf67fa29 (patch)
tree8eda3dc924ac7074880af9505398d3c01b130898 /sys/fs/smbfs
parent1ca1a3af686820fd6c71e8135cc3db332c52758e (diff)
downloadFreeBSD-src-27637bef6ccda2ff13ee6ac3c36f47a3bf67fa29.zip
FreeBSD-src-27637bef6ccda2ff13ee6ac3c36f47a3bf67fa29.tar.gz
Cast a pointer to a uintptr_t to quiet a warning.
Diffstat (limited to 'sys/fs/smbfs')
-rw-r--r--sys/fs/smbfs/smbfs_smb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/smbfs/smbfs_smb.c b/sys/fs/smbfs/smbfs_smb.c
index 95e1528..da4a871 100644
--- a/sys/fs/smbfs/smbfs_smb.c
+++ b/sys/fs/smbfs/smbfs_smb.c
@@ -136,7 +136,7 @@ smbfs_smb_lock(struct smbnode *np, int op, caddr_t id,
*/
return EINVAL;
else
- return smbfs_smb_lockandx(np, op, (u_int32_t)id, start, end, scred);
+ return smbfs_smb_lockandx(np, op, (uintptr_t)id, start, end, scred);
}
static int
OpenPOWER on IntegriCloud