From 8cc702bf5aeb0bedf012affb0c476cfc5f3dfa80 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 3 Jan 2007 06:39:18 +0000 Subject: r20498: Two 64-bit warnings (This used to be commit 382827ebac61646ec31fe1d56ccde2ea337e8f9e) --- source3/tdb/common/io.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source3/tdb') diff --git a/source3/tdb/common/io.c b/source3/tdb/common/io.c index 9a6084888d..1fa947019b 100644 --- a/source3/tdb/common/io.c +++ b/source3/tdb/common/io.c @@ -124,8 +124,10 @@ static int tdb_read(struct tdb_context *tdb, tdb_off_t off, void *buf, if (ret != (ssize_t)len) { /* Ensure ecode is set for log fn. */ tdb->ecode = TDB_ERR_IO; - TDB_LOG((tdb, TDB_DEBUG_FATAL,"tdb_read failed at %d len=%d ret=%d (%s) map_size=%d\n", - off, len, ret, strerror(errno), (int)tdb->map_size)); + TDB_LOG((tdb, TDB_DEBUG_FATAL,"tdb_read failed at %d " + "len=%d ret=%d (%s) map_size=%d\n", + (int)off, (int)len, ret, strerror(errno), + (int)tdb->map_size)); return TDB_ERRCODE(TDB_ERR_IO, -1); } } -- cgit