lists.arthurdejong.org
RSS feed

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



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