summaryrefslogtreecommitdiff
path: root/source3/tdb/tdbback.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/tdb/tdbback.c')
-rw-r--r--source3/tdb/tdbback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/tdb/tdbback.c b/source3/tdb/tdbback.c
index c337924d6c..4698e6016b 100644
--- a/source3/tdb/tdbback.c
+++ b/source3/tdb/tdbback.c
@@ -63,7 +63,7 @@ char *add_suffix(const char *name, const char *suffix)
{
char *ret;
int len = strlen(name) + strlen(suffix) + 1;
- ret = malloc(len);
+ ret = (char *)malloc(len);
if (!ret) {
fprintf(stderr,"Out of memory!\n");
exit(1);