diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2016-06-28 05:07:09 +0300 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2017-01-29 02:27:14 +0100 |
commit | 0c64a776ddecfa33a37318e79b8811d9774579ae (patch) | |
tree | b77494d4c746e943b726fa9a976f699990e3d89c /tdecore/tests/kresolvertest.cpp | |
parent | a3abfb87bc3ee696f9246a23978813244a257c53 (diff) | |
download | tdelibs-0c64a776ddecfa33a37318e79b8811d9774579ae.tar.gz tdelibs-0c64a776ddecfa33a37318e79b8811d9774579ae.zip |
Initial add for check target for cmake
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'tdecore/tests/kresolvertest.cpp')
-rw-r--r-- | tdecore/tests/kresolvertest.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tdecore/tests/kresolvertest.cpp b/tdecore/tests/kresolvertest.cpp index 0e05cab4e..9f476cd51 100644 --- a/tdecore/tests/kresolvertest.cpp +++ b/tdecore/tests/kresolvertest.cpp @@ -176,17 +176,17 @@ bool testKernel() printf("succeeded\n"); if (getsockname(sock, (struct sockaddr*)&sin6, &len) == 0) - printf("\tSize of kernel's sockaddr_in6 is %d bytes\n", len); + printf("\tSize of kernel's sockaddr_in6 is %lu bytes\n", (unsigned long)len); else printf("\tCould not get socket name\n"); } - printf("\tSize of TDE's internal sockaddr_in6 is %d bytes\n", - sizeof(kde_sockaddr_in6)); + printf("\tSize of TDE's internal sockaddr_in6 is %lu bytes\n", + (unsigned long)sizeof(kde_sockaddr_in6)); # ifdef HAVE_SOCKADDR_IN6 - printf("\tSize of system libraries' sockaddr_in6 is %d bytes\n", - sizeof(sockaddr_in6)); + printf("\tSize of system libraries' sockaddr_in6 is %lu bytes\n", + (unsigned long)sizeof(sockaddr_in6)); # else printf("\tSystem libraries don't define sockaddr_in6\n"); # endif |