diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-07-10 15:16:16 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-07-10 09:30:57 -0400 |
commit | 2bdb99e3578fa8ff606632d9e7242bc753737752 (patch) | |
tree | 26041c490cf82842e1f1b5a0343c65f0570a8c49 /src/tests/sysdb-tests.c | |
parent | 951a2082ba1bfe2fec59b06b1f3fdf424d9d75c2 (diff) | |
download | sssd-2bdb99e3578fa8ff606632d9e7242bc753737752.tar.gz sssd-2bdb99e3578fa8ff606632d9e7242bc753737752.tar.xz sssd-2bdb99e3578fa8ff606632d9e7242bc753737752.zip |
Cast uid_t to unsigned long long in DEBUG messages
Diffstat (limited to 'src/tests/sysdb-tests.c')
-rw-r--r-- | src/tests/sysdb-tests.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/sysdb-tests.c b/src/tests/sysdb-tests.c index 16b7234a..24e619f9 100644 --- a/src/tests/sysdb-tests.c +++ b/src/tests/sysdb-tests.c @@ -2197,7 +2197,7 @@ START_TEST(test_group_rename) gid = ldb_msg_find_attr_as_uint(res->msgs[0], SYSDB_GIDNUM, 0); fail_unless(gid == grgid, "Did not find the expected GID (found %llu expected %llu)", - gid, grgid); + (unsigned long long) gid, (unsigned long long) grgid); name = ldb_msg_find_attr_as_string(res->msgs[0], SYSDB_NAME, NULL); fail_unless(strcmp(fromname, name) == 0, "Did not find the expected name (found %s expected %s)", @@ -2220,7 +2220,7 @@ START_TEST(test_group_rename) gid = ldb_msg_find_attr_as_uint(res->msgs[0], SYSDB_GIDNUM, 0); fail_unless(gid == grgid, "Did not find the expected GID (found %llu expected %llu)", - gid, grgid); + (unsigned long long) gid, (unsigned long long) grgid); name = ldb_msg_find_attr_as_string(res->msgs[0], SYSDB_NAME, NULL); fail_unless(strcmp(toname, name) == 0, "Did not find the expected GID (found %s expected %s)", @@ -2266,7 +2266,7 @@ START_TEST(test_user_rename) uid = ldb_msg_find_attr_as_uint(res->msgs[0], SYSDB_UIDNUM, 0); fail_unless(uid == userid, "Did not find the expected UID (found %llu expected %llu)", - uid, userid); + (unsigned long long) uid, (unsigned long long) userid); name = ldb_msg_find_attr_as_string(res->msgs[0], SYSDB_NAME, NULL); fail_unless(strcmp(fromname, name) == 0, "Did not find the expected name (found %s expected %s)", @@ -2291,7 +2291,7 @@ START_TEST(test_user_rename) uid = ldb_msg_find_attr_as_uint(res->msgs[0], SYSDB_UIDNUM, 0); fail_unless(uid == userid, "Did not find the expected UID (found %llu expected %llu)", - uid, userid); + (unsigned long long) uid, (unsigned long long) userid); name = ldb_msg_find_attr_as_string(res->msgs[0], SYSDB_NAME, NULL); fail_unless(strcmp(toname, name) == 0, "Did not find the expected name (found %s expected %s)", |