diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-10-25 19:06:15 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-10-25 20:02:52 +0200 |
commit | f64296c40e07614668c4ac4c978bc8980fb6a7db (patch) | |
tree | 8832fe020e76fd592e7e60996312ce2d5042c8ea /src | |
parent | 64f615974a57e50124a7186ee8e8d14a78d3304d (diff) | |
download | sssd-f64296c40e07614668c4ac4c978bc8980fb6a7db.tar.gz sssd-f64296c40e07614668c4ac4c978bc8980fb6a7db.tar.xz sssd-f64296c40e07614668c4ac4c978bc8980fb6a7db.zip |
tests: Use right format string for type size_t
This patch fixes few format string warnings in the file test_utils.c
src/tests/cmocka/test_utils.c:54:56:
warning: format specifies type 'unsigned int' but the
argument has type 'size_t' (aka 'unsigned long') [-Wformat]
Diffstat (limited to 'src')
-rw-r--r-- | src/tests/cmocka/test_utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/cmocka/test_utils.c b/src/tests/cmocka/test_utils.c index 9152dcfa3..1be59ab69 100644 --- a/src/tests/cmocka/test_utils.c +++ b/src/tests/cmocka/test_utils.c @@ -25,9 +25,9 @@ #include "tests/cmocka/common_mock.h" #define DOM_COUNT 10 -#define DOMNAME_TMPL "name_%u.dom" -#define FLATNAME_TMPL "name_%u" -#define SID_TMPL "S-1-5-21-1-2-%u" +#define DOMNAME_TMPL "name_%zu.dom" +#define FLATNAME_TMPL "name_%zu" +#define SID_TMPL "S-1-5-21-1-2-%zu" struct dom_list_test_ctx { size_t dom_count; |