From 5fe2c518bdd052eb67f47381324d1baef9ace1a4 Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" 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 b66fd35aaa4..c898f067d3d 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)