Author: gd
Date: 2007-08-28 15:07:13 +0000 (Tue, 28 Aug 2007)
New Revision: 24743

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24743

Log:
Fix build warning.

Guenther

Modified:
   branches/SAMBA_3_2/source/lib/tdb/common/io.c
   branches/SAMBA_3_2_0/source/lib/tdb/common/io.c


Changeset:
Modified: branches/SAMBA_3_2/source/lib/tdb/common/io.c
===================================================================
--- branches/SAMBA_3_2/source/lib/tdb/common/io.c       2007-08-28 15:01:23 UTC 
(rev 24742)
+++ branches/SAMBA_3_2/source/lib/tdb/common/io.c       2007-08-28 15:07:13 UTC 
(rev 24743)
@@ -94,7 +94,7 @@
                        /* try once more */
                        TDB_LOG((tdb, TDB_DEBUG_FATAL, "tdb_write: wrote only "
                                 "%d of %d bytes at %d, trying once more\n",
-                                written, len, off));
+                                (int)written, len, off));
                        errno = ENOSPC;
                        written = pwrite(tdb->fd, (void *)((char *)buf+written),
                                         len-written,

Modified: branches/SAMBA_3_2_0/source/lib/tdb/common/io.c
===================================================================
--- branches/SAMBA_3_2_0/source/lib/tdb/common/io.c     2007-08-28 15:01:23 UTC 
(rev 24742)
+++ branches/SAMBA_3_2_0/source/lib/tdb/common/io.c     2007-08-28 15:07:13 UTC 
(rev 24743)
@@ -94,7 +94,7 @@
                        /* try once more */
                        TDB_LOG((tdb, TDB_DEBUG_FATAL, "tdb_write: wrote only "
                                 "%d of %d bytes at %d, trying once more\n",
-                                written, len, off));
+                                (int)written, len, off));
                        errno = ENOSPC;
                        written = pwrite(tdb->fd, (void *)((char *)buf+written),
                                         len-written,

Reply via email to