diff options
author | Tim Potter <tpot@samba.org> | 2005-11-30 03:20:25 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:52 -0500 |
commit | b9b59fa7984c4f800c177a235a984e05d59f1ef8 (patch) | |
tree | 3a8a66d1e136b8fc65d1d7a261473e9102389a26 /source4/torture | |
parent | 03d301ead5f702872b8cb948b8cd01b0fa0db5f7 (diff) | |
download | samba-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')
-rw-r--r-- | source4/torture/auth/pac.c | 2 | ||||
-rw-r--r-- | source4/torture/rpc/dssync.c | 4 | ||||
-rw-r--r-- | source4/torture/rpc/samsync.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/auth/pac.c b/source4/torture/auth/pac.c index 0674d55574..7cf2c390c4 100644 --- a/source4/torture/auth/pac.c +++ b/source4/torture/auth/pac.c @@ -359,7 +359,7 @@ static BOOL torture_pac_saved_check(void) pac_file = lp_parm_string(-1,"torture","pac_file"); if (pac_file) { tmp_blob.data = (uint8_t *)file_load(pac_file, &tmp_blob.length, mem_ctx); - printf("(saved test) Loaded pac of size %d from %s\n", tmp_blob.length, pac_file); + printf("(saved test) Loaded pac of size %ld from %s\n", (long)tmp_blob.length, pac_file); } else { tmp_blob = data_blob_talloc(mem_ctx, saved_pac, sizeof(saved_pac)); } 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"); |