[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-732-gbf46f61

Michael Adam obnox at samba.org
Wed Apr 9 23:12:17 GMT 2008


The branch, v3-2-test has been updated
       via  bf46f614c497110dcc3fc79f610fcc7a8784dbb2 (commit)
      from  51026d64b3e19626b51bee73fb257a75a6455355 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit bf46f614c497110dcc3fc79f610fcc7a8784dbb2
Author: Michael Adam <obnox at samba.org>
Date:   Thu Apr 10 00:44:25 2008 +0200

    vlp: fix an implicit cast compile warning.
    
    Michael

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

Summary of changes:
 testsuite/printing/vlp.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/testsuite/printing/vlp.c b/testsuite/printing/vlp.c
index 5c8dcd9..1545988 100644
--- a/testsuite/printing/vlp.c
+++ b/testsuite/printing/vlp.c
@@ -256,7 +256,8 @@ static int print_command(int argc, char **argv)
 
 		/* Add job to end of queue */
 
-		queue.dptr = SMB_MALLOC(value.dsize + sizeof(struct vlp_job));
+		queue.dptr = (unsigned char *)SMB_MALLOC(value.dsize +
+							sizeof(struct vlp_job));
 		if (!queue.dptr) return 1;
 
 		memcpy(queue.dptr, value.dptr, value.dsize);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list