From dfaf1f930ce0ff7219c0d10fc0156cba0e46950a Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 27 Feb 2012 15:45:59 -0800 Subject: uhd: fixed some compile warnings for msvc --- host/examples/network_relay.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/examples') diff --git a/host/examples/network_relay.cpp b/host/examples/network_relay.cpp index 8909c7530..a7fdb7e2e 100644 --- a/host/examples/network_relay.cpp +++ b/host/examples/network_relay.cpp @@ -36,10 +36,10 @@ boost::mutex spawn_mutex; #if defined(UHD_PLATFORM_MACOS) || defined(UHD_PLATFORM_BSD) //limit buffer resize on macos or it will error - const size_t rx_dsp_buff_size = 1e6; + const size_t rx_dsp_buff_size = size_t(1e6); #elif defined(UHD_PLATFORM_LINUX) || defined(UHD_PLATFORM_WIN32) //set to half-a-second of buffering at max rate - const size_t rx_dsp_buff_size = 50e6; + const size_t rx_dsp_buff_size = size_t(50e6); #endif const size_t tx_dsp_buff_size = (1 << 20); -- cgit v1.2.3