diff options
author | Volker Lendecke <vl@samba.org> | 2010-02-13 13:02:15 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-02-13 13:24:59 +0100 |
commit | ece99c763acdc8a9b98ace4b8b08dfccbb1c9cb3 (patch) | |
tree | c0c53c9ab07ae1dd83e900d809fecec4b683d17d /source3/smbd | |
parent | f69135e0e985200d62d4618b742bd642ecfdbf31 (diff) | |
download | samba-ece99c763acdc8a9b98ace4b8b08dfccbb1c9cb3.tar.gz samba-ece99c763acdc8a9b98ace4b8b08dfccbb1c9cb3.tar.bz2 samba-ece99c763acdc8a9b98ace4b8b08dfccbb1c9cb3.zip |
s3: Fix a C++ warning
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c index f908819d33..54926eb600 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -61,7 +61,7 @@ bool set_conn_connectpath(connection_struct *conn, const char *connectpath) } /* Allocate for strlen + '\0' + possible leading '/' */ - destname = SMB_MALLOC(strlen(connectpath) + 2); + destname = (char *)SMB_MALLOC(strlen(connectpath) + 2); if (!destname) { return false; } |