diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2016-06-28 05:07:09 +0300 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2017-07-22 15:56:48 +0200 |
commit | f088e398856b58e486ddda87dfd343c8d93b4433 (patch) | |
tree | 1fbeb9d0675f4097805802050091aeb6840ca270 /kdecore/tests/kresolvertest.cpp | |
parent | 9fde716a8c71ae4fc27178701d8a700b375322dd (diff) | |
download | tdelibs-f088e398856b58e486ddda87dfd343c8d93b4433.tar.gz tdelibs-f088e398856b58e486ddda87dfd343c8d93b4433.zip |
Initial add for check target for cmake
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 0c64a776ddecfa33a37318e79b8811d9774579ae)
Diffstat (limited to 'kdecore/tests/kresolvertest.cpp')
-rw-r--r-- | kdecore/tests/kresolvertest.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kdecore/tests/kresolvertest.cpp b/kdecore/tests/kresolvertest.cpp index f1d3c11f9..e6c67b85e 100644 --- a/kdecore/tests/kresolvertest.cpp +++ b/kdecore/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 KDE's internal sockaddr_in6 is %d bytes\n", - sizeof(kde_sockaddr_in6)); + printf("\tSize of KDE'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 |