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>
Fri, 21 Nov 2008 23:30:53 +0000 (00:30 +0100)
Michael

source/winbindd/winbindd_util.c

index abc3df8eaf763f0b2e973c5dfed8d0c2c35b089f..cd79c777eaa8cb37ad01700d8f4f5dd12274ac75 100644 (file)
@@ -1142,7 +1142,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