summaryrefslogtreecommitdiff
path: root/source3/intl
diff options
context:
space:
mode:
Diffstat (limited to 'source3/intl')
-rw-r--r--source3/intl/lang_tdb.c2
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