mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix a 64 bit warning. Have set_T_dev_t() take a pointer to a size_t rather
than a pointer to an int, since that is what it really wants anyway.
This commit is contained in:
parent
30d38f7b0d
commit
7e9c84c757
1 changed files with 2 additions and 2 deletions
|
|
@ -71,7 +71,7 @@ static int show_var(int *, int);
|
|||
static int sysctl_all (int *oid, int len);
|
||||
static int name2oid(char *, int *);
|
||||
|
||||
static void set_T_dev_t (char *, void **, int *);
|
||||
static void set_T_dev_t (char *, void **, size_t *);
|
||||
|
||||
static void
|
||||
usage(void)
|
||||
|
|
@ -404,7 +404,7 @@ T_dev_t(int l2, void *p)
|
|||
}
|
||||
|
||||
static void
|
||||
set_T_dev_t (char *path, void **val, int *size)
|
||||
set_T_dev_t (char *path, void **val, size_t *size)
|
||||
{
|
||||
static struct stat statb;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue