summaryrefslogtreecommitdiffstats
path: root/ctdb/common/ctdb_recoverd.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-05-29 13:58:41 +1000
committerAndrew Tridgell <tridge@samba.org>2007-05-29 13:58:41 +1000
commit1140d5a20a9a27d36631fd168d09a849b9a4983c (patch)
tree2f92ac5734270d713e21f79f269511eadc078169 /ctdb/common/ctdb_recoverd.c
parentbc891232b600d2c03688003213f5cb0ac6977f8c (diff)
downloadsamba-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_recoverd.c')
-rw-r--r--ctdb/common/ctdb_recoverd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/common/ctdb_recoverd.c b/ctdb/common/ctdb_recoverd.c
index 2dbc9e1ce6..dca340bff2 100644
--- a/ctdb/common/ctdb_recoverd.c
+++ b/ctdb/common/ctdb_recoverd.c
@@ -286,7 +286,7 @@ static int vacuum_db(struct ctdb_context *ctdb, uint32_t db_id, struct ctdb_node
db_id, max_rsn+1);
if (ret != 0) {
DEBUG(0,(__location__ " Failed to set rsn on node %u to %llu\n",
- nodemap->nodes[i].vnn, max_rsn+1));
+ nodemap->nodes[i].vnn, (unsigned long long)max_rsn+1));
return -1;
}
}
@@ -300,7 +300,7 @@ static int vacuum_db(struct ctdb_context *ctdb, uint32_t db_id, struct ctdb_node
db_id, max_rsn+1);
if (ret != 0) {
DEBUG(0,(__location__ " Failed to delete records on node %u with rsn below %llu\n",
- nodemap->nodes[i].vnn, max_rsn+1));
+ nodemap->nodes[i].vnn, (unsigned long long)max_rsn+1));
return -1;
}
}