diff options
author | Volker Lendecke <vl@samba.org> | 2011-02-12 17:30:11 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-02-12 19:50:55 +0100 |
commit | 91cad71390bd2a0330891083c65d3f9000b74657 (patch) | |
tree | b709fcf0bf9ec6e4b5253875ab6b1b4095397434 /lib/tdb | |
parent | d38ab83bab13df8e77cd5bd2c48833c566d77091 (diff) | |
download | samba-91cad71390bd2a0330891083c65d3f9000b74657.tar.gz samba-91cad71390bd2a0330891083c65d3f9000b74657.tar.bz2 samba-91cad71390bd2a0330891083c65d3f9000b74657.zip |
tdb: Fix a C++ warning
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Feb 12 19:50:55 CET 2011 on sn-devel-104
Diffstat (limited to 'lib/tdb')
-rw-r--r-- | lib/tdb/common/summary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdb/common/summary.c b/lib/tdb/common/summary.c index 29959f9e5f..da1ec2b739 100644 --- a/lib/tdb/common/summary.c +++ b/lib/tdb/common/summary.c @@ -155,7 +155,7 @@ _PUBLIC_ char *tdb_summary(struct tdb_context *tdb) /* 20 is max length of a %zu. */ len = strlen(SUMMARY_FORMAT) + 35*20 + 1; - ret = malloc(len); + ret = (char *)malloc(len); if (!ret) goto unlock; |