svn commit: r298734 - head/sys/compat/ndis
Pedro F. Giffuni
pfg at FreeBSD.org
Thu Apr 28 03:19:54 UTC 2016
Author: pfg
Date: Thu Apr 28 03:19:53 2016
New Revision: 298734
URL: https://svnweb.freebsd.org/changeset/base/298734
Log:
ndis(4): it's rather unrealistic to expect a size_t here.
int was actually OK, and u_int is more than enough.
Modified:
head/sys/compat/ndis/subr_ndis.c
Modified: head/sys/compat/ndis/subr_ndis.c
==============================================================================
--- head/sys/compat/ndis/subr_ndis.c Thu Apr 28 02:46:08 2016 (r298733)
+++ head/sys/compat/ndis/subr_ndis.c Thu Apr 28 03:19:53 2016 (r298734)
@@ -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)
More information about the svn-src-head
mailing list