Fix gcc build.

Reported andt tested by:	swills
Sponsored by:	The FreeBSD Foundation
Approved by:	re (gjb)
This commit is contained in:
Konstantin Belousov 2016-06-18 20:20:00 +00:00
parent e896fb3bae
commit cacbedfc46

View File

@ -3795,7 +3795,7 @@ dnlc_reduce_cache(void *arg)
{
u_int percent;
percent = (u_int)arg;
percent = (u_int)(uintptr_t)arg;
mutex_enter(&arc_dnlc_evicts_lock);
if (arc_dnlc_evicts_arg == 0) {
arc_dnlc_evicts_arg = percent;