[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-977-gab8a16c

Günther Deschner gd at samba.org
Mon Oct 5 03:16:15 MDT 2009


The branch, master has been updated
       via  ab8a16c77f8222115493bbc295318a7d9ceb6d38 (commit)
      from  926457ec9565c980c14a658b34291e41317d404b (commit)

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


- Log -----------------------------------------------------------------
commit ab8a16c77f8222115493bbc295318a7d9ceb6d38
Author: Günther Deschner <gd at samba.org>
Date:   Fri Oct 2 01:25:13 2009 +0200

    lib/tdr: get rid of build warning when using TDR_ALLOC macro.
    
    Guenther

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

Summary of changes:
 lib/tdr/tdr.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/tdr/tdr.h b/lib/tdr/tdr.h
index 1eedc58..84f3e50 100644
--- a/lib/tdr/tdr.h
+++ b/lib/tdr/tdr.h
@@ -55,7 +55,7 @@ struct tdr_print {
                         } while (0)
 
 #define TDR_ALLOC(ctx, s, n) do { \
-	                       (s) = talloc_array_size(ctx, sizeof(*(s)), n); \
+			       (s) = talloc_array_ptrtype(ctx, (s), n); \
                            if ((n) && !(s)) return NT_STATUS_NO_MEMORY; \
                            } while (0)
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list