summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/getproto.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/getproto.c')
-rw-r--r--otherlibs/unix/getproto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/unix/getproto.c b/otherlibs/unix/getproto.c
index 0f18e0e45..74d2ca551 100644
--- a/otherlibs/unix/getproto.c
+++ b/otherlibs/unix/getproto.c
@@ -33,7 +33,7 @@ static value alloc_proto_entry(struct protoent *entry)
Begin_roots2 (name, aliases);
name = copy_string(entry->p_name);
- aliases = copy_string_array(entry->p_aliases);
+ aliases = copy_string_array((const char**)entry->p_aliases);
res = alloc_small(3, 0);
Field(res,0) = name;
Field(res,1) = aliases;