diff options
Diffstat (limited to 'lib/libugidfw/ugidfw.c')
-rw-r--r-- | lib/libugidfw/ugidfw.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libugidfw/ugidfw.c b/lib/libugidfw/ugidfw.c index 2b5d0d2..b31f5ea 100644 --- a/lib/libugidfw/ugidfw.c +++ b/lib/libugidfw/ugidfw.c @@ -553,9 +553,10 @@ bsde_parse_rule_string(const char *string, struct mac_bsdextended_rule *rule, } int -bsde_get_mib(const char *string, int *name, int *namelen) +bsde_get_mib(const char *string, int *name, size_t *namelen) { - int error, len; + size_t len; + int error; len = *namelen; error = sysctlnametomib(string, name, &len); |