From 0f9e825508458c813f18229807b32e823cbc1e41 Mon Sep 17 00:00:00 2001 From: pfg Date: Thu, 28 Apr 2016 03:19:53 +0000 Subject: [PATCH] ndis(4): it's rather unrealistic to expect a size_t here. int was actually OK, and u_int is more than enough. --- sys/compat/ndis/subr_ndis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/ndis/subr_ndis.c b/sys/compat/ndis/subr_ndis.c index b66fd35aaa4d..c898f067d3dd 100644 --- a/sys/compat/ndis/subr_ndis.c +++ b/sys/compat/ndis/subr_ndis.c @@ -2670,7 +2670,7 @@ ndis_find_sym(lf, filename, suffix, sym) { char *fullsym; char *suf; - size_t i; + u_int i; fullsym = ExAllocatePoolWithTag(NonPagedPool, MAXPATHLEN, 0); if (fullsym == NULL)