[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-219-gecc2555

Jeremy Allison jra at samba.org
Wed Nov 7 07:09:48 GMT 2007


The branch, v3-2-test has been updated
       via  ecc2555197860ae56726724ec824fc149d2d831c (commit)
      from  ab11c0055761e97ba32a8c3ec4fa6f8763a262cd (commit)

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


- Log -----------------------------------------------------------------
commit ecc2555197860ae56726724ec824fc149d2d831c
Author: Jeremy Allison <jra at samba.org>
Date:   Tue Nov 6 23:09:31 2007 -0800

    Fix const warning.
    Jeremy.

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

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


Changeset truncated at 500 lines:

diff --git a/source/lib/tdb/common/io.c b/source/lib/tdb/common/io.c
index c963e66..8ab0768 100644
--- a/source/lib/tdb/common/io.c
+++ b/source/lib/tdb/common/io.c
@@ -96,7 +96,7 @@ static int tdb_write(struct tdb_context *tdb, tdb_off_t off,
 				 "%d of %d bytes at %d, trying once more\n",
 				 (int)written, len, off));
 			errno = ENOSPC;
-			written = pwrite(tdb->fd, (void *)((char *)buf+written),
+			written = pwrite(tdb->fd, (const void *)((const char *)buf+written),
 					 len-written,
 					 off+written);
 		}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list