[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Sat Feb 12 11:51:01 MST 2011


The branch, master has been updated
       via  91cad71 tdb: Fix a C++ warning
      from  d38ab83 s3: Make "smbpasswd <user>" work with pdb_ads

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 91cad71390bd2a0330891083c65d3f9000b74657
Author: Volker Lendecke <vl at samba.org>
Date:   Sat Feb 12 17:30:11 2011 +0100

    tdb: Fix a C++ warning
    
    Autobuild-User: Volker Lendecke <vlendec at samba.org>
    Autobuild-Date: Sat Feb 12 19:50:55 CET 2011 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 lib/tdb/common/summary.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/tdb/common/summary.c b/lib/tdb/common/summary.c
index 29959f9..da1ec2b 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;
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list