svn commit: samba r24049 - in branches:
SAMBA_3_2/source/lib/tdb/common SAMBA_3_2/source/smbd
SAMBA_3_2_0/source/lib/tdb/common SAMBA_3_2_0/source/smbd
vlendec at samba.org
vlendec at samba.org
Wed Jul 25 18:53:17 GMT 2007
Author: vlendec
Date: 2007-07-25 18:53:16 +0000 (Wed, 25 Jul 2007)
New Revision: 24049
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24049
Log:
Some more 64-bit warnings
Modified:
branches/SAMBA_3_2/source/lib/tdb/common/io.c
branches/SAMBA_3_2/source/smbd/aio.c
branches/SAMBA_3_2_0/source/lib/tdb/common/io.c
branches/SAMBA_3_2_0/source/smbd/aio.c
Changeset:
Modified: branches/SAMBA_3_2/source/lib/tdb/common/io.c
===================================================================
--- branches/SAMBA_3_2/source/lib/tdb/common/io.c 2007-07-25 18:47:40 UTC (rev 24048)
+++ branches/SAMBA_3_2/source/lib/tdb/common/io.c 2007-07-25 18:53:16 UTC (rev 24049)
@@ -255,11 +255,13 @@
return -1;
} else if (written == -1) {
TDB_LOG((tdb, TDB_DEBUG_FATAL, "expand_file write of "
- "%d bytes failed (%s)\n", n, strerror(errno)));
+ "%d bytes failed (%s)\n", (int)n,
+ strerror(errno)));
return -1;
} else if (written != n) {
TDB_LOG((tdb, TDB_DEBUG_WARNING, "expand_file: wrote "
- "only %d of %d bytes - retrying\n", written,n));
+ "only %d of %d bytes - retrying\n", (int)written,
+ (int)n));
}
addition -= written;
size += written;
Modified: branches/SAMBA_3_2/source/smbd/aio.c
===================================================================
--- branches/SAMBA_3_2/source/smbd/aio.c 2007-07-25 18:47:40 UTC (rev 24048)
+++ branches/SAMBA_3_2/source/smbd/aio.c 2007-07-25 18:53:16 UTC (rev 24049)
@@ -415,7 +415,7 @@
DEBUG( 3, ( "handle_aio_read_complete file %s max=%d "
"nread=%d\n",
aio_ex->fsp->fsp_name,
- aio_ex->acb.aio_nbytes, (int)nread ) );
+ (int)aio_ex->acb.aio_nbytes, (int)nread ) );
}
smb_setlen(inbuf,outbuf,outsize - 4);
Modified: branches/SAMBA_3_2_0/source/lib/tdb/common/io.c
===================================================================
--- branches/SAMBA_3_2_0/source/lib/tdb/common/io.c 2007-07-25 18:47:40 UTC (rev 24048)
+++ branches/SAMBA_3_2_0/source/lib/tdb/common/io.c 2007-07-25 18:53:16 UTC (rev 24049)
@@ -255,11 +255,13 @@
return -1;
} else if (written == -1) {
TDB_LOG((tdb, TDB_DEBUG_FATAL, "expand_file write of "
- "%d bytes failed (%s)\n", n, strerror(errno)));
+ "%d bytes failed (%s)\n", (int)n,
+ strerror(errno)));
return -1;
} else if (written != n) {
TDB_LOG((tdb, TDB_DEBUG_WARNING, "expand_file: wrote "
- "only %d of %d bytes - retrying\n", written,n));
+ "only %d of %d bytes - retrying\n", (int)written,
+ (int)n));
}
addition -= written;
size += written;
Modified: branches/SAMBA_3_2_0/source/smbd/aio.c
===================================================================
--- branches/SAMBA_3_2_0/source/smbd/aio.c 2007-07-25 18:47:40 UTC (rev 24048)
+++ branches/SAMBA_3_2_0/source/smbd/aio.c 2007-07-25 18:53:16 UTC (rev 24049)
@@ -420,7 +420,7 @@
DEBUG( 3, ( "handle_aio_read_complete file %s max=%d "
"nread=%d\n",
aio_ex->fsp->fsp_name,
- aio_ex->acb.aio_nbytes, (int)nread ) );
+ (int)aio_ex->acb.aio_nbytes, (int)nread ) );
}
smb_setlen(outbuf,outsize - 4);
More information about the samba-cvs
mailing list