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)
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to