summarylogtreecommitdiffstats
path: root/lengths.patch
blob: 474bda7240748ef809a1684aa5852adaa331bc87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
diff -up src/Net-Libdnet-0.99/Libdnet.xs.orig src/Net-Libdnet-0.99/Libdnet.xs
--- src/Net-Libdnet-0.99/Libdnet.xs.orig	2024-09-14 20:27:08.080000000 -0600
+++ src/Net-Libdnet-0.99/Libdnet.xs	2024-09-14 20:28:48.510000000 -0600
@@ -262,7 +262,7 @@ _obsolete_addr_cmp(SvA, SvB)
 	CODE:
 		char *StrA, *StrB;
 		struct addr SadA, SadB;
-		int len;
+		long unsigned int len;
 
 		/*
 		we cannot avoid ugly nesting, because
@@ -306,7 +306,7 @@ _obsolete_addr_bcast(SvAd)
 	CODE:
 		char *StrAd;
 		struct addr SadAd, SadBc;
-		int len;
+		long unsigned int len;
 
 		/* check input */
 		if( !SvOK(SvAd) ){
@@ -344,7 +344,7 @@ _obsolete_addr_net(SvAd)
 	CODE:
 		char *StrAd;
 		struct addr SadAd, SadBc;
-		int len;
+		long unsigned int len;
 
 		/* check input */
 		if( !SvOK(SvAd) ){
@@ -385,7 +385,7 @@ _obsolete_arp_add(SvProtoAddr, SvHwAddr)
 		struct arp_entry SarEntry;
 		struct addr SadAddr;
 		char *StrAddr;
-		int len;
+		long unsigned int len;
 
 		/* check input */
 		if( !SvOK(SvProtoAddr) ){
@@ -448,7 +448,7 @@ _obsolete_arp_delete(SvProtoAddr)
 		struct arp_entry SarEntry;
 		struct addr SadAddr;
 		char *StrAddr;
-		int len;
+		long unsigned int len;
 
 		/* check input */
 		if( !SvOK(SvProtoAddr) ){
@@ -497,7 +497,7 @@ _obsolete_arp_get(SvProtoAddr)
 		struct arp_entry SarEntry;
 		struct addr SadAddr;
 		char *StrAddr;
-		int len;
+		long unsigned int len;
 
 		/* check input */
 		if( !SvOK(SvProtoAddr) ){
@@ -553,7 +553,7 @@ _obsolete_intf_get(SvName)
 		intf_t *ItIntf;
 		struct intf_entry SieEntry;
 		char *StrName;
-		int len;
+		long unsigned int len;
 
 		/* prepare undefined hash */
 		HvUndef = newHV();
@@ -599,7 +599,7 @@ _obsolete_intf_get_src(SvAddr)
 		struct intf_entry SieEntry;
 		struct addr SaAddr;
 		char *StrAddr;
-		int len;
+		long unsigned int len;
 
 		/* prepare undefined hash */
 		HvUndef = newHV();
@@ -650,7 +650,7 @@ _obsolete_intf_get_dst(SvAddr)
 		struct intf_entry SieEntry;
 		struct addr SaAddr;
 		char *StrAddr;
-		int len;
+		long unsigned int len;
 
 		/* prepare undefined hash */
 		HvUndef = newHV();
@@ -701,7 +701,7 @@ _obsolete_route_add(SvDstAddr, SvGwAddr)
 		struct route_entry SrtEntry;
 		struct addr SadAddr;
 		char *StrAddr;
-		int len;
+		long unsigned int len;
 
 		/* check input */
 		if( !SvOK(SvDstAddr) ){
@@ -764,7 +764,7 @@ _obsolete_route_delete(SvDstAddr)
 		struct route_entry SrtEntry;
 		struct addr SadAddr;
 		char *StrAddr;
-		int len;
+		long unsigned int len;
 
 		/* check input */
 		if( !SvOK(SvDstAddr) ){
@@ -813,7 +813,7 @@ _obsolete_route_get(SvDstAddr)
 		struct route_entry SrtEntry;
 		struct addr SadAddr;
 		char *StrAddr;
-		int len;
+		long unsigned int len;
 
 		/* check input */
 		if( !SvOK(SvDstAddr) ){