diff options
Diffstat (limited to 'otherlibs/unix/getserv.c')
-rw-r--r-- | otherlibs/unix/getserv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/unix/getserv.c b/otherlibs/unix/getserv.c index 4b0d68f45..b1f03c950 100644 --- a/otherlibs/unix/getserv.c +++ b/otherlibs/unix/getserv.c @@ -37,7 +37,7 @@ static value alloc_service_entry(struct servent *entry) Begin_roots3 (name, aliases, proto); name = copy_string(entry->s_name); - aliases = copy_string_array(entry->s_aliases); + aliases = copy_string_array((const char**)entry->s_aliases); proto = copy_string(entry->s_proto); res = alloc_small(4, 0); Field(res,0) = name; |