summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 95e15280365e..da4a871c53c1 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