1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

- Fix date type size_t

PR:		111270
Submitted by:	Benjamin Close <benjsc@>
This commit is contained in:
Martin Wilke 2007-04-17 19:02:00 +00:00
parent 1b0d07aaf3
commit 73082a5b03
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190216
2 changed files with 22 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= wmnd
PORTVERSION= 0.4.12
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.yuv.info/wmnd/releases/

View File

@ -0,0 +1,21 @@
--- src/drivers.c Thu Apr 20 23:51:30 2006
+++ ../wmnd-0.4.12-p/src/drivers.c Thu Apr 5 22:05:34 2007
@@ -570,7 +570,8 @@
struct freebsd_sysctl_drvdata* drdata;
int numifaces, numrfaces = 0;
int mib[5], datamib[6];
- int i, len, len2;
+ int i;
+ size_t len, len2;
mib[0] = CTL_NET;
mib[1] = PF_LINK;
@@ -636,7 +637,7 @@
{
struct freebsd_sysctl_drvdata* drdata = dev->drvdata;
int datamib[6];
- int len;
+ size_t len;
*ip = *op = *ib = *ob = 0;