diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-17 10:38:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:29:34 -0500 |
commit | 9953452d498f89152147f4408e7c1959ab2cc97b (patch) | |
tree | 528e4b68c7f9cc9c2eda04f9f8047d9b424acb7b /source4/torture | |
parent | e835621799647ee70630b389fb53d15b15d68355 (diff) | |
download | samba-9953452d498f89152147f4408e7c1959ab2cc97b.tar.gz samba-9953452d498f89152147f4408e7c1959ab2cc97b.tar.bz2 samba-9953452d498f89152147f4408e7c1959ab2cc97b.zip |
r8522: fixed another couple of size_t warnings
(This used to be commit d2c928548336682ffd3dda873f9957f3d041f0af)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/basic/aliases.c | 4 | ||||
-rw-r--r-- | source4/torture/raw/search.c | 2 |
2 files changed, 3 insertions, 3 deletions
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) |