From fd8bae8b1660acefd327121ef3d8a356cb0c09fa Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 31 Jul 2006 20:51:55 +0000 Subject: r17345: Some C++ warnings (This used to be commit 21c8fa2fc8bfd35d203b089ff61efc7c292b4dc0) --- source3/intl/lang_tdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/intl') 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 -- cgit