mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Make this compile with GCC4 by fixing a signedness issue.
Reviewed by: md5(1)
This commit is contained in:
parent
eaa8e3e8c5
commit
140490e266
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145549
|
@ -432,7 +432,7 @@ devstat_getdevs(kvm_t *kd, struct statinfo *stats)
|
|||
*/
|
||||
if ((dinfo->numdevs = devstat_getnumdevs(kd)) == -1)
|
||||
return(-1);
|
||||
if ((dinfo->mem_ptr = get_devstat_kvm(kd)) == NULL)
|
||||
if ((dinfo->mem_ptr = (u_int8_t *)get_devstat_kvm(kd)) == NULL)
|
||||
return(-1);
|
||||
}
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue