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:
Peter Wemm 2003-10-26 04:45:08 +00:00
parent 30d38f7b0d
commit 7e9c84c757
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121542

View File

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