git.samba.org
/
jra
/
samba
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r17345: Some C++ warnings
[jra/samba/.git]
/
source3
/
intl
/
lang_tdb.c
diff --git
a/source3/intl/lang_tdb.c
b/source3/intl/lang_tdb.c
index 016f64af52ad50772ccb75b7014804add60b31b1..ddb3d4d65e3e4202d5cd9eae21e790a6ffceed29 100644
(file)
--- 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