diff options
author | Josh Blum <josh@joshknows.com> | 2010-05-17 10:22:14 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-05-17 10:22:14 -0700 |
commit | 7facfba666046f305086f754c9cebe1406ea54ad (patch) | |
tree | 8f339a6bbaef05e8a3c0fc866f1ee928716d6d9c /host | |
parent | 7823e08855f1fe48fbc014c37f822a9f22de19ef (diff) | |
download | uhd-7facfba666046f305086f754c9cebe1406ea54ad.tar.gz uhd-7facfba666046f305086f754c9cebe1406ea54ad.tar.bz2 uhd-7facfba666046f305086f754c9cebe1406ea54ad.zip |
windows fix for setsockopt
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/transport/udp_zero_copy_asio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/transport/udp_zero_copy_asio.cpp b/host/lib/transport/udp_zero_copy_asio.cpp index c26b39867..e97bbf31c 100644 --- a/host/lib/transport/udp_zero_copy_asio.cpp +++ b/host/lib/transport/udp_zero_copy_asio.cpp @@ -146,7 +146,7 @@ udp_zero_copy_impl::udp_zero_copy_impl(const std::string &addr, const std::strin UHD_ASSERT_THROW(setsockopt( _socket->native(), SOL_SOCKET, SO_RCVTIMEO, - (timeval *)&tv, sizeof(timeval) + (const char *)&tv, sizeof(timeval) ) == 0); } |