diff options
Diffstat (limited to 'source3/smbd/conn.c')
-rw-r--r-- | source3/smbd/conn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/conn.c b/source3/smbd/conn.c index 26529c77a1f..dc7dec4e970 100644 --- a/source3/smbd/conn.c +++ b/source3/smbd/conn.c @@ -283,7 +283,7 @@ void msg_force_tdis(int msg_type, pid_t pid, void *buf, size_t len) connection_struct *conn, *next; fstring sharename; - fstrcpy(sharename, buf); + fstrcpy(sharename, (const char *)buf); if (strcmp(sharename, "*") == 0) { DEBUG(1,("Forcing close of all shares\n")); |