From 9953452d498f89152147f4408e7c1959ab2cc97b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 17 Jul 2005 10:38:59 +0000 Subject: r8522: fixed another couple of size_t warnings (This used to be commit d2c928548336682ffd3dda873f9957f3d041f0af) --- source4/torture/basic/aliases.c | 4 ++-- source4/torture/raw/search.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/torture') diff --git a/source4/torture/basic/aliases.c b/source4/torture/basic/aliases.c index 364dfeecf2..159c2ae4ae 100644 --- a/source4/torture/basic/aliases.c +++ b/source4/torture/basic/aliases.c @@ -55,7 +55,7 @@ static void gen_aliases(struct smbcli_state *cli, struct smb_trans2 *t2, int lev DLIST_ADD(alias_blobs, t2b); d_printf("\tFound level %4u (0x%03x) of size %3d (0x%02x)\n", level, level, - (int)t2b->data.length, t2b->data.length); + (int)t2b->data.length, (int)t2b->data.length); count++; } @@ -285,7 +285,7 @@ static void gen_set_aliases(struct smbcli_state *cli, struct smb_trans2 *t2, int DLIST_ADD(alias_blobs, t2b); d_printf("\tFound level %4u (0x%03x) of size %3d (0x%02x)\n", level, level, - (int)t2->in.data.length, t2->in.data.length); + (int)t2->in.data.length, (int)t2->in.data.length); count++; } diff --git a/source4/torture/raw/search.c b/source4/torture/raw/search.c index 1798d70b3e..061e0c96f3 100644 --- a/source4/torture/raw/search.c +++ b/source4/torture/raw/search.c @@ -548,7 +548,7 @@ static NTSTATUS multiple_search(struct smbcli_state *cli, #define CHECK_VALUE(v, correct) do { \ if ((v) != (correct)) { \ printf("(%s) Incorrect value %s=%d - should be %d\n", \ - __location__, #v, v, correct); \ + __location__, #v, v, (int)correct); \ ret = False; \ }} while (0) -- cgit