commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r9077 - usrp2/branches/developers/eb/u2-wip/host-ng/ap


From: eb
Subject: [Commit-gnuradio] r9077 - usrp2/branches/developers/eb/u2-wip/host-ng/apps
Date: Wed, 30 Jul 2008 20:36:06 -0600 (MDT)

Author: eb
Date: 2008-07-30 20:36:05 -0600 (Wed, 30 Jul 2008)
New Revision: 9077

Modified:
   usrp2/branches/developers/eb/u2-wip/host-ng/apps/test2_usrp2.cc
Log:
use proper size specifier

Modified: usrp2/branches/developers/eb/u2-wip/host-ng/apps/test2_usrp2.cc
===================================================================
--- usrp2/branches/developers/eb/u2-wip/host-ng/apps/test2_usrp2.cc     
2008-07-31 02:32:49 UTC (rev 9076)
+++ usrp2/branches/developers/eb/u2-wip/host-ng/apps/test2_usrp2.cc     
2008-07-31 02:36:05 UTC (rev 9077)
@@ -368,8 +368,8 @@
   
   u2->stop_rx_streaming();
 
-  printf("\nCopy handler called %li times.\n", handler->nframes());
-  printf("Copy handler called with %li bytes.\n\n", 
handler->nsamples()*sizeof(uint32_t));
+  printf("\nCopy handler called %zd times.\n", handler->nframes());
+  printf("Copy handler called with %zd bytes.\n\n", 
handler->nsamples()*sizeof(uint32_t));
   printf("Elapsed time was %5.3f seconds.\n", elapsed);
   printf("Packet rate was %1.0f pkts/sec.\n", pps);
   printf("Approximate throughput was %5.2f MB/sec.\n", mbs);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]