diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-07-31 20:51:55 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:38:26 -0500 |
commit | fd8bae8b1660acefd327121ef3d8a356cb0c09fa (patch) | |
tree | 86e1799721a31a6ebb667bb3fa01695828083c54 /source3/intl | |
parent | 5fbe298b5ad781670715c63e248131498d73e7c6 (diff) | |
download | samba-fd8bae8b1660acefd327121ef3d8a356cb0c09fa.tar.gz samba-fd8bae8b1660acefd327121ef3d8a356cb0c09fa.tar.bz2 samba-fd8bae8b1660acefd327121ef3d8a356cb0c09fa.zip |
r17345: Some C++ warnings
(This used to be commit 21c8fa2fc8bfd35d203b089ff61efc7c292b4dc0)
Diffstat (limited to 'source3/intl')
-rw-r--r-- | source3/intl/lang_tdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/intl/lang_tdb.c b/source3/intl/lang_tdb.c index 016f64af52..ddb3d4d65e 100644 --- a/source3/intl/lang_tdb.c +++ b/source3/intl/lang_tdb.c @@ -197,7 +197,7 @@ const char *lang_msg(const char *msgid) count++; } - if (!(msgid_quoted = SMB_MALLOC(strlen(msgid) + count + 1))) + if (!(msgid_quoted = (char *)SMB_MALLOC(strlen(msgid) + count + 1))) return msgid; /* string_sub() is unsuitable here as it replaces some punctuation |