diff options
author | jhb <jhb@FreeBSD.org> | 2002-11-07 22:35:45 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-11-07 22:35:45 +0000 |
commit | 27637bef6ccda2ff13ee6ac3c36f47a3bf67fa29 (patch) | |
tree | 8eda3dc924ac7074880af9505398d3c01b130898 /sys | |
parent | 1ca1a3af686820fd6c71e8135cc3db332c52758e (diff) | |
download | FreeBSD-src-27637bef6ccda2ff13ee6ac3c36f47a3bf67fa29.zip FreeBSD-src-27637bef6ccda2ff13ee6ac3c36f47a3bf67fa29.tar.gz |
Cast a pointer to a uintptr_t to quiet a warning.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/fs/smbfs/smbfs_smb.c | 2 |
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 |