Cast a pointer to a uintptr_t to quiet a warning.

This commit is contained in:
John Baldwin 2002-11-07 22:35:45 +00:00
parent 1c4df6ecd5
commit 95c2dc84e5

View File

@ -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