summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/getgr.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/getgr.c')
-rw-r--r--otherlibs/unix/getgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/unix/getgr.c b/otherlibs/unix/getgr.c
index e148babcf..812b16828 100644
--- a/otherlibs/unix/getgr.c
+++ b/otherlibs/unix/getgr.c
@@ -28,7 +28,7 @@ static value alloc_group_entry(struct group *entry)
Begin_roots3 (name, pass, mem);
name = copy_string(entry->gr_name);
pass = copy_string(entry->gr_passwd);
- mem = copy_string_array(entry->gr_mem);
+ mem = copy_string_array((const char**)entry->gr_mem);
res = alloc_small(4, 0);
Field(res,0) = name;
Field(res,1) = pass;