Cast a pointer to a uintptr_t to quiet a warning.
This commit is contained in:
parent
1c4df6ecd5
commit
95c2dc84e5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user