svn commit: samba r24743 - in branches:
SAMBA_3_2/source/lib/tdb/common SAMBA_3_2_0/source/lib/tdb/common
Michael Adam
ma at sernet.de
Tue Aug 28 15:10:01 GMT 2007
Thanks Günther,
I am still full of hope that I will learn this one day! :-)
Michael
On Di, Aug 28, 2007 at 03:07:14 +0000, gd at samba.org wrote:
> 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,
>
--
Michael Adam <ma at sernet.de>
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.SerNet.DE, mailto: Info @ SerNet.DE
More information about the samba-technical
mailing list