aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorjohn haque <j.eh@mchsi.com>2012-04-17 13:00:13 -0500
committerjohn haque <j.eh@mchsi.com>2012-04-17 13:00:13 -0500
commitb1062311a3caab9ec89c0f104bd9b4334174f23c (patch)
tree08a64713888026fb80fd80360343a51aebd8a593 /io.c
parente729adf120f279fd65578a410ca8d2d93a56f0f0 (diff)
parentf0345a29c71a3215adaa0e2fdfefc0c439ea6561 (diff)
downloadegawk-b1062311a3caab9ec89c0f104bd9b4334174f23c.tar.gz
egawk-b1062311a3caab9ec89c0f104bd9b4334174f23c.tar.bz2
egawk-b1062311a3caab9ec89c0f104bd9b4334174f23c.zip
Merge branch 'master' into gawk_mpfr.
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index f6feab6a..721b1ab7 100644
--- a/io.c
+++ b/io.c
@@ -3408,7 +3408,7 @@ get_read_timeout(IOBUF *iop)
if (full_idx == NULL || strcmp(name, last_name) != 0) {
val = in_PROCINFO(name, "READ_TIMEOUT", & full_idx);
if (last_name != NULL)
- efree((char *) last_name);
+ efree((void *) last_name);
last_name = estrdup(name, strlen(name));
} else /* use cached full index */
val = in_array(PROCINFO_node, full_idx);