commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r8981 - usrp2/branches/features/host-ng/host-ng/apps


From: eb
Subject: [Commit-gnuradio] r8981 - usrp2/branches/features/host-ng/host-ng/apps
Date: Tue, 22 Jul 2008 18:32:14 -0600 (MDT)

Author: eb
Date: 2008-07-22 18:32:14 -0600 (Tue, 22 Jul 2008)
New Revision: 8981

Modified:
   usrp2/branches/features/host-ng/host-ng/apps/test_usrp2.cc
Log:
removed warning

Modified: usrp2/branches/features/host-ng/host-ng/apps/test_usrp2.cc
===================================================================
--- usrp2/branches/features/host-ng/host-ng/apps/test_usrp2.cc  2008-07-22 
23:03:05 UTC (rev 8980)
+++ usrp2/branches/features/host-ng/host-ng/apps/test_usrp2.cc  2008-07-23 
00:32:14 UTC (rev 8981)
@@ -139,7 +139,7 @@
     exit(1);
   }
 
-  size_t bufsize = 100e6;
+  size_t bufsize = static_cast<size_t>(100e6);
   unsigned char *buf = (unsigned char *)malloc(bufsize);
 
   printf("Receiving data ten times into buffer of length %li bytes.\n\n", 
bufsize);





reply via email to

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