aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-02-27 15:45:59 -0800
committerJosh Blum <josh@joshknows.com>2012-02-28 13:20:58 -0800
commitdfaf1f930ce0ff7219c0d10fc0156cba0e46950a (patch)
treee0d67976fca62f07d43f9bf7003b85a9b8fdaabb /host/examples
parent2033713db5ca6224bc769747420458287eecc506 (diff)
downloaduhd-dfaf1f930ce0ff7219c0d10fc0156cba0e46950a.tar.gz
uhd-dfaf1f930ce0ff7219c0d10fc0156cba0e46950a.tar.bz2
uhd-dfaf1f930ce0ff7219c0d10fc0156cba0e46950a.zip
uhd: fixed some compile warnings for msvc
Diffstat (limited to 'host/examples')
-rw-r--r--host/examples/network_relay.cpp4
1 files changed, 2 insertions, 2 deletions
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);