From 22319dfc30ce9c311c94a6d8fc747a9c2604cc03 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 18 Jul 2011 12:57:00 -0700 Subject: uhd: tweaks for windows boost 1.47 compile --- host/lib/usrp/usrp2/io_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/usrp/usrp2/io_impl.cpp') diff --git a/host/lib/usrp/usrp2/io_impl.cpp b/host/lib/usrp/usrp2/io_impl.cpp index 7e855d1bd..67bf25c2b 100644 --- a/host/lib/usrp/usrp2/io_impl.cpp +++ b/host/lib/usrp/usrp2/io_impl.cpp @@ -273,7 +273,7 @@ void usrp2_impl::io_init(void){ _io_impl->send_handler.set_max_samples_per_packet(get_max_send_samps_per_packet()); //set the packet threshold to be an entire socket buffer's worth - const size_t packets_per_sock_buff = 50e6/_mbc[_mbc.keys().front()].rx_dsp_xports[0]->get_recv_frame_size(); + const size_t packets_per_sock_buff = size_t(50e6/_mbc[_mbc.keys().front()].rx_dsp_xports[0]->get_recv_frame_size()); _io_impl->recv_handler.set_alignment_failure_threshold(packets_per_sock_buff); } -- cgit v1.2.3