Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2016 03:19:53 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r298734 - head/sys/compat/ndis
Message-ID:  <201604280319.u3S3JrW0052499@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604280319.u3S3JrW0052499>