diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-05-07 11:06:38 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-05-21 16:21:12 +0200 |
commit | 5c4fabb08edfdc8e4da431927c5337e96988beef (patch) | |
tree | b206f0907e9a66cd6db1afa6e66b3311ab503080 /source4/torture/basic | |
parent | f44808fa1197c28137808f7e8560bbe3ed439cff (diff) | |
download | samba-5c4fabb08edfdc8e4da431927c5337e96988beef.tar.gz samba-5c4fabb08edfdc8e4da431927c5337e96988beef.tar.bz2 samba-5c4fabb08edfdc8e4da431927c5337e96988beef.zip |
s4:torture - always cast correctly when using the "%x" format string argument
Signed-off-by: Metze
Diffstat (limited to 'source4/torture/basic')
-rw-r--r-- | source4/torture/basic/attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/basic/attr.c b/source4/torture/basic/attr.c index 9655f7a743..2f0248e20f 100644 --- a/source4/torture/basic/attr.c +++ b/source4/torture/basic/attr.c @@ -374,7 +374,7 @@ error_exit_file: [0x%x], got attr 0x%x, should be 0x%x\n", open_attrs_table[j], (uint16_t)attr, - (int)open_attrs_table[j]|FILE_ATTRIBUTE_DIRECTORY); + (unsigned int)(open_attrs_table[j]|FILE_ATTRIBUTE_DIRECTORY)); CHECK_MAX_FAILURES(error_exit_dir); } |