summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-07-18 12:57:00 -0700
committerJosh Blum <josh@joshknows.com>2011-07-18 12:57:00 -0700
commit22319dfc30ce9c311c94a6d8fc747a9c2604cc03 (patch)
tree63f746c6bde6a84064a8c0f284603862465e8522 /host/lib/usrp
parent0fb4451675947f8f965831f0a5f4e93945e93b90 (diff)
downloaduhd-22319dfc30ce9c311c94a6d8fc747a9c2604cc03.tar.gz
uhd-22319dfc30ce9c311c94a6d8fc747a9c2604cc03.tar.bz2
uhd-22319dfc30ce9c311c94a6d8fc747a9c2604cc03.zip
uhd: tweaks for windows boost 1.47 compile
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/usrp2/io_impl.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}