mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Fix some warnings on 64 bit architectures. The vn_extattr_get()
function takes an int * parameter, not a size_t * parameter. Arguably, it should rather take a size_t *, but that would require changing the uio_resid field of struct uio to be a size_t instead of an int, which I don't want to do that close to 5.0-RELEASE. Reviewed by: rwatson
This commit is contained in:
parent
7e4224fafd
commit
e6faed4db0
2 changed files with 2 additions and 4 deletions
|
|
@ -925,8 +925,7 @@ mac_biba_associate_vnode_extattr(struct mount *mp, struct label *fslabel,
|
|||
struct vnode *vp, struct label *vlabel)
|
||||
{
|
||||
struct mac_biba temp, *source, *dest;
|
||||
size_t buflen;
|
||||
int error;
|
||||
int buflen, error;
|
||||
|
||||
source = SLOT(fslabel);
|
||||
dest = SLOT(vlabel);
|
||||
|
|
|
|||
|
|
@ -894,8 +894,7 @@ mac_mls_associate_vnode_extattr(struct mount *mp, struct label *fslabel,
|
|||
struct vnode *vp, struct label *vlabel)
|
||||
{
|
||||
struct mac_mls temp, *source, *dest;
|
||||
size_t buflen;
|
||||
int error;
|
||||
int buflen, error;
|
||||
|
||||
source = SLOT(fslabel);
|
||||
dest = SLOT(vlabel);
|
||||
|
|
|
|||
Loading…
Reference in a new issue