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
@ -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…
x
Reference in New Issue
Block a user