git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d38ab83
)
tdb: Fix a C++ warning
author
Volker Lendecke
<vl@samba.org>
Sat, 12 Feb 2011 16:30:11 +0000
(17:30 +0100)
committer
Volker Lendecke
<vlendec@samba.org>
Sat, 12 Feb 2011 18:50:55 +0000
(19:50 +0100)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Feb 12 19:50:55 CET 2011 on sn-devel-104
lib/tdb/common/summary.c
patch
|
blob
|
history
diff --git
a/lib/tdb/common/summary.c
b/lib/tdb/common/summary.c
index 29959f9e5f32a2be765a07a2d049a8d266493843..da1ec2b739d8650fca60a9269a3ad04a2684adb6 100644
(file)
--- 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;