12 lines
378 B
Diff
12 lines
378 B
Diff
--- iptables-1.3.0/ip6tables.c.autoload 2005-02-21 17:52:46.502379964 +0100
|
|
+++ iptables-1.3.0/ip6tables.c 2005-02-21 18:01:38.113422285 +0100
|
|
@@ -1589,7 +1589,7 @@
|
|
if (procfile < 0)
|
|
return NULL;
|
|
|
|
- ret = malloc(PROCFILE_BUFSIZ);
|
|
+ ret = (char *) malloc(PROCFILE_BUFSIZ);
|
|
if (ret) {
|
|
memset(ret, 0, PROCFILE_BUFSIZ);
|
|
switch (read(procfile, ret, PROCFILE_BUFSIZ)) {
|