nss-pam-ldapd commit: r1534 - nss-pam-ldapd/tests
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1534 - nss-pam-ldapd/tests
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1534 - nss-pam-ldapd/tests
- Date: Sun, 4 Sep 2011 10:42:13 +0200 (CEST)
Author: arthur
Date: Sun Sep 4 10:42:12 2011
New Revision: 1534
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1534
Log:
add casts from size_t to int for printf
Modified:
nss-pam-ldapd/tests/test_tio.c
Modified: nss-pam-ldapd/tests/test_tio.c
==============================================================================
--- nss-pam-ldapd/tests/test_tio.c Sun Sep 4 10:40:24 2011 (r1533)
+++ nss-pam-ldapd/tests/test_tio.c Sun Sep 4 10:42:12 2011 (r1534)
@@ -174,8 +174,8 @@
/* set up the socket pair */
assertok(socketpair(AF_UNIX,SOCK_STREAM,0,sp)==0);
/* log */
- printf("test_tio: writing %d blocks of %d bytes (%d
total)\n",wbl,wbs,wbl*wbs);
- printf("test_tio: reading %d blocks of %d bytes (%d
total)\n",rbl,rbs,rbl*rbs);
+ printf("test_tio: writing %d blocks of %d bytes (%d
total)\n",(int)wbl,(int)wbs,(int)(wbl*wbs));
+ printf("test_tio: reading %d blocks of %d bytes (%d
total)\n",(int)rbl,(int)rbs,(int)(rbl*rbs));
/* start the writer thread */
wargs.fd=sp[0];
wargs.blocksize=wbs;
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits
- nss-pam-ldapd commit: r1534 - nss-pam-ldapd/tests,
Commits of the nss-pam-ldapd project