summaryrefslogtreecommitdiff
path: root/source3/lib/tdb
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-08-28 15:07:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:17 -0500
commit068d95cde19f339d71b3566f16eed0e5d6ab9d46 (patch)
tree655fc1a449d9c92b3ada467c7e2be4dea44c2ce4 /source3/lib/tdb
parent84bce05e71720a54aa87900bd6550576317d52cb (diff)
downloadsamba-068d95cde19f339d71b3566f16eed0e5d6ab9d46.tar.gz
samba-068d95cde19f339d71b3566f16eed0e5d6ab9d46.tar.bz2
samba-068d95cde19f339d71b3566f16eed0e5d6ab9d46.zip
r24743: Fix build warning.
Guenther (This used to be commit 579fb55b7556dc90b42f77d5fc9e9c31f34974e5)
Diffstat (limited to 'source3/lib/tdb')
-rw-r--r--source3/lib/tdb/common/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/tdb/common/io.c b/source3/lib/tdb/common/io.c
index 40b0288ba8..c963e66ad4 100644
--- a/source3/lib/tdb/common/io.c
+++ b/source3/lib/tdb/common/io.c
@@ -94,7 +94,7 @@ static int tdb_write(struct tdb_context *tdb, tdb_off_t off,
/* 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,