diff options
author | Andrew Tridgell <tridge@samba.org> | 2007-05-29 13:58:41 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2007-05-29 13:58:41 +1000 |
commit | 1140d5a20a9a27d36631fd168d09a849b9a4983c (patch) | |
tree | 2f92ac5734270d713e21f79f269511eadc078169 /ctdb/common/ctdb_io.c | |
parent | bc891232b600d2c03688003213f5cb0ac6977f8c (diff) | |
download | samba-1140d5a20a9a27d36631fd168d09a849b9a4983c.tar.gz samba-1140d5a20a9a27d36631fd168d09a849b9a4983c.tar.xz samba-1140d5a20a9a27d36631fd168d09a849b9a4983c.zip |
fixed more warnings on 64 bit boxes
(This used to be ctdb commit 2f6eae476203f8a8b28e083553204c01f224c8a5)
Diffstat (limited to 'ctdb/common/ctdb_io.c')
-rw-r--r-- | ctdb/common/ctdb_io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/common/ctdb_io.c b/ctdb/common/ctdb_io.c index 2ca84212ce..190b6f2e09 100644 --- a/ctdb/common/ctdb_io.c +++ b/ctdb/common/ctdb_io.c @@ -85,7 +85,7 @@ static void queue_io_read(struct ctdb_queue *queue) nread = read(queue->fd, queue->partial.data + queue->partial.length, num_ready); if (nread <= 0) { - DEBUG(0,("read error nread=%d\n", nread)); + DEBUG(0,("read error nread=%d\n", (int)nread)); goto failed; } @@ -135,7 +135,7 @@ static void queue_io_read(struct ctdb_queue *queue) queue->partial.data = talloc_memdup(queue, data, nread); if (queue->partial.data == NULL) { DEBUG(0,("read error memdup partial failed for %u\n", - nread)); + (unsigned)nread)); goto failed; } queue->partial.length = nread; |