[s3]winbind_util: fix an implicit cast compile warning.
authorMichael Adam <obnox@samba.org>
Mon, 22 Sep 2008 08:34:57 +0000 (10:34 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 23 Sep 2008 08:00:25 +0000 (10:00 +0200)
Michael

source3/winbindd/winbindd_util.c

index e7b6576317557372af5cd0863c70fdae478343a4..b296465ed54eee25a88236d71c0941ecab8cc59a 100644 (file)
@@ -1160,7 +1160,7 @@ void parse_add_domuser(void *buf, char *domuser, int *len)
                }
        }
 
-       safe_strcpy(buf, user, *len);
+       safe_strcpy((char *)buf, user, *len);
 }
 
 /* Ensure an incoming username from NSS is fully qualified. Replace the