summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-11-30 03:20:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:52 -0500
commitb9b59fa7984c4f800c177a235a984e05d59f1ef8 (patch)
tree3a8a66d1e136b8fc65d1d7a261473e9102389a26 /source4/torture/rpc
parent03d301ead5f702872b8cb948b8cd01b0fa0db5f7 (diff)
downloadsamba-b9b59fa7984c4f800c177a235a984e05d59f1ef8.tar.gz
samba-b9b59fa7984c4f800c177a235a984e05d59f1ef8.tar.bz2
samba-b9b59fa7984c4f800c177a235a984e05d59f1ef8.zip
r11968: More warning fixes. We're on track to getting to double digits for
the number of warnings generated now. (This used to be commit d479f2d7607adc698d71c5ba26932c72a26dcaab)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/dssync.c4
-rw-r--r--source4/torture/rpc/samsync.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/rpc/dssync.c b/source4/torture/rpc/dssync.c
index 84d6c39b63..8daba2438b 100644
--- a/source4/torture/rpc/dssync.c
+++ b/source4/torture/rpc/dssync.c
@@ -351,8 +351,8 @@ static void test_analyse_objects(struct DsSyncTest *ctx,
DEBUG(0,("DN: %s\n", dn));
dn_printed = True;
}
- DEBUGADD(0,("ATTR: %s data_blob.length=%u\n",
- name, data->length));
+ DEBUGADD(0,("ATTR: %s data_blob.length=%lu\n",
+ name, (long)data->length));
dump_data(0,data->data, data->length);
}
}
diff --git a/source4/torture/rpc/samsync.c b/source4/torture/rpc/samsync.c
index ad29d96b71..7f77844459 100644
--- a/source4/torture/rpc/samsync.c
+++ b/source4/torture/rpc/samsync.c
@@ -1292,7 +1292,7 @@ static BOOL test_DatabaseDeltas(struct samsync_state *samsync_state, TALLOC_CTX
printf("Testing DatabaseDeltas of id %d at %llu\n",
- r.in.database_id, r.in.sequence_num);
+ r.in.database_id, (long long)r.in.sequence_num);
do {
loop_ctx = talloc_named(mem_ctx, 0, "test_DatabaseDeltas loop context");