]> Zhao Yanbai Git Server - minix.git/commitdiff
no! no new warnings
authorDavid van Moolenbroek <david@minix3.org>
Mon, 21 Dec 2009 23:39:08 +0000 (23:39 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Mon, 21 Dec 2009 23:39:08 +0000 (23:39 +0000)
lib/other/setgroups.c

index 62e356623fc458e1cfaf50a34d4c988abefe5e37..e1813b0cab90802fd7bd77759133239850306430 100644 (file)
@@ -9,7 +9,7 @@ int setgroups(int ngroups, const gid_t *gidset)
 {
   message m;
 
-  m.m1_p1 = gidset;
+  m.m1_p1 = (char *) gidset;
   m.m1_i1 = ngroups;
 
   return(_syscall(MM, SETGROUPS, &m));