diff options
author | Jeremy Allison <jra@samba.org> | 2011-05-05 13:42:05 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-05-05 23:56:07 +0200 |
commit | e131c94ac1b06cc49b1c25717d3496dba8b0b3df (patch) | |
tree | b5aea6c90a1d73c3688591a54d3a92773c95a4e7 /source3/intl | |
parent | 38492b16fee29f31b324ec459069470e977a2359 (diff) | |
download | samba-e131c94ac1b06cc49b1c25717d3496dba8b0b3df.tar.gz samba-e131c94ac1b06cc49b1c25717d3496dba8b0b3df.tar.bz2 samba-e131c94ac1b06cc49b1c25717d3496dba8b0b3df.zip |
More const fixes for compiler warnings from the waf build.
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 8fcb9f2bfc..15793b7828 100644 --- a/source3/intl/lang_tdb.c +++ b/source3/intl/lang_tdb.c @@ -236,7 +236,7 @@ const char *lang_msg(const char *msgid) void lang_msg_free(const char *msgstr) { if (!tdb) return; - free((void *)msgstr); + free(discard_const_p(void, msgstr)); } /* |