aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/io_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-09-23 18:46:58 -0700
committerJosh Blum <josh@joshknows.com>2010-09-23 18:46:58 -0700
commit42576f1ed98735a69a20cc788d09acd82cb69ae8 (patch)
tree3d5d6ce1d479fa0b9e785f17f64e719b20718575 /host/lib/usrp/usrp1/io_impl.cpp
parentaf1882ab65bb1395f75dd7a7fbdcfc8535c32479 (diff)
downloaduhd-42576f1ed98735a69a20cc788d09acd82cb69ae8.tar.gz
uhd-42576f1ed98735a69a20cc788d09acd82cb69ae8.tar.bz2
uhd-42576f1ed98735a69a20cc788d09acd82cb69ae8.zip
usrp1: removed msvc warnings for usrp1 impl code
Diffstat (limited to 'host/lib/usrp/usrp1/io_impl.cpp')
-rw-r--r--host/lib/usrp/usrp1/io_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp1/io_impl.cpp b/host/lib/usrp/usrp1/io_impl.cpp
index 146038bd9..73974f2d6 100644
--- a/host/lib/usrp/usrp1/io_impl.cpp
+++ b/host/lib/usrp/usrp1/io_impl.cpp
@@ -184,7 +184,7 @@ bool usrp1_impl::io_impl::get_send_buffs(
));
}
- return buffs[0].get();
+ return buffs[0].get() != NULL;
}
/***********************************************************************
@@ -277,7 +277,7 @@ static bool get_recv_buffs(
){
UHD_ASSERT_THROW(buffs.size() == 1);
buffs[0] = zc_if->get_recv_buff();
- return buffs[0].get();
+ return buffs[0].get() != NULL;
}
size_t usrp1_impl::recv(