aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/device3/device3_io_impl.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-04-06 16:45:40 -0700
committerMartin Braun <martin.braun@ettus.com>2017-04-06 23:31:16 -0700
commite1c754f2069ce5ee4914ea312e62fc3f708ff824 (patch)
treede4b62f9b2d6041333a90e2a0161bd6012170789 /host/lib/usrp/device3/device3_io_impl.cpp
parent7d633cd2b5d3df68cc8eee57fd4ec6f7b31e21d7 (diff)
downloaduhd-e1c754f2069ce5ee4914ea312e62fc3f708ff824.tar.gz
uhd-e1c754f2069ce5ee4914ea312e62fc3f708ff824.tar.bz2
uhd-e1c754f2069ce5ee4914ea312e62fc3f708ff824.zip
transport: Fix some nullptr vs NULL vs 0
This affects some versions of Clang when using C++11 features.
Diffstat (limited to 'host/lib/usrp/device3/device3_io_impl.cpp')
-rw-r--r--host/lib/usrp/device3/device3_io_impl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/usrp/device3/device3_io_impl.cpp b/host/lib/usrp/device3/device3_io_impl.cpp
index 46cc0ee5a..27c31f17b 100644
--- a/host/lib/usrp/device3/device3_io_impl.cpp
+++ b/host/lib/usrp/device3/device3_io_impl.cpp
@@ -860,7 +860,8 @@ tx_streamer::sptr device3_impl::get_tx_stream(const uhd::stream_args_t &args_)
xport.send = zero_copy_flow_ctrl::make(
xport.send,
boost::bind(&tx_flow_ctrl, task, fc_cache, fc_window, _1),
- NULL);
+ 0
+ );
//Give the streamer a functor to get the send buffer
//get_tx_buff is static so bind has no lifetime issues