summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-08-20 17:55:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:44 -0500
commitf852fdbe06ec9f19424d6870cba9b1872a0d5d7a (patch)
tree8c222bbb5d9f076da71458ba1d43b2b33ce474a6 /source3/nmbd
parentf8825406fb43b514f9fb031a1ff5ec9280c67ada (diff)
downloadsamba-f852fdbe06ec9f19424d6870cba9b1872a0d5d7a.tar.gz
samba-f852fdbe06ec9f19424d6870cba9b1872a0d5d7a.tar.bz2
samba-f852fdbe06ec9f19424d6870cba9b1872a0d5d7a.zip
r17626: Some C++ Warnings
(This used to be commit 09e7c010f03ac3c621f7a7fad44685d278c1481a)
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd_winsserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_winsserver.c b/source3/nmbd/nmbd_winsserver.c
index 75841414bc..320415503b 100644
--- a/source3/nmbd/nmbd_winsserver.c
+++ b/source3/nmbd/nmbd_winsserver.c
@@ -159,7 +159,7 @@ static TDB_DATA name_record_to_wins_record(const struct name_record *namerec)
len = (2 + 1 + (7*4)); /* "wbddddddd" */
len += (namerec->data.num_ips * 4);
- data.dptr = SMB_MALLOC(len);
+ data.dptr = (char *)SMB_MALLOC(len);
if (!data.dptr) {
return data;
}