Added wx200d, thanks Geoffrey Kruse, corrected typo in tmsnc/Config.in
[openwrt.git] / package / iptables / patches / 03-gcc4_fix.patch
1 diff -Nur iptables-1.3.4/extensions/libipt_string.c iptables-1.3.4-openwrt/extensions/libipt_string.c
2 --- iptables-1.3.4/extensions/libipt_string.c 2005-10-31 20:03:50.000000000 +0100
3 +++ iptables-1.3.4-openwrt/extensions/libipt_string.c 2005-12-15 15:08:27.000000000 +0100
4 @@ -63,7 +63,7 @@
5 }
6
7 static void
8 -parse_string(const unsigned char *s, struct ipt_string_info *info)
9 +parse_string(const char *s, struct ipt_string_info *info)
10 {
11 if (strlen(s) <= IPT_STRING_MAX_PATTERN_SIZE) {
12 strncpy(info->pattern, s, IPT_STRING_MAX_PATTERN_SIZE);
13 @@ -74,7 +74,7 @@
14 }
15
16 static void
17 -parse_algo(const unsigned char *s, struct ipt_string_info *info)
18 +parse_algo(const char *s, struct ipt_string_info *info)
19 {
20 if (strlen(s) <= IPT_STRING_MAX_ALGO_NAME_SIZE) {
21 strncpy(info->algo, s, IPT_STRING_MAX_ALGO_NAME_SIZE);
22 @@ -84,7 +84,7 @@
23 }
24
25 static void
26 -parse_hex_string(const unsigned char *s, struct ipt_string_info *info)
27 +parse_hex_string(const char *s, struct ipt_string_info *info)
28 {
29 int i=0, slen, sindex=0, schar;
30 short hex_f = 0, literal_f = 0;
This page took 0.067493 seconds and 5 git commands to generate.