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:
parent
1b0d07aaf3
commit
73082a5b03
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190216
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= wmnd
|
||||
PORTVERSION= 0.4.12
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.yuv.info/wmnd/releases/
|
||||
|
||||
|
21
net/wmnd/files/patch-src-drivers.c
Normal file
21
net/wmnd/files/patch-src-drivers.c
Normal 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;
|
||||
|
Loading…
Reference in New Issue
Block a user