aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-07-10 03:31:55 +0000
committerJosh Blum <josh@joshknows.com>2010-07-10 03:31:55 +0000
commit667bfe56e777a409d92f72bfd54ac827d49d1c7c (patch)
tree3dd541a7c7b4cd81e5e4aa2e1b6d66fe1915dd8d /host/lib
parent55338617fea9fe79ff62e76e674b6c08580ac562 (diff)
parent09af5cbf7e8518b5e664ecc5138e83a884de6eff (diff)
downloaduhd-667bfe56e777a409d92f72bfd54ac827d49d1c7c.tar.gz
uhd-667bfe56e777a409d92f72bfd54ac827d49d1c7c.tar.bz2
uhd-667bfe56e777a409d92f72bfd54ac827d49d1c7c.zip
Merge branch 'error_handling' of ettus.sourcerepo.com:ettus/uhdpriv into usrp_e
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/transport/vrt_packet_handler.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/transport/vrt_packet_handler.hpp b/host/lib/transport/vrt_packet_handler.hpp
index 221e2bfa6..702d3bfb9 100644
--- a/host/lib/transport/vrt_packet_handler.hpp
+++ b/host/lib/transport/vrt_packet_handler.hpp
@@ -329,7 +329,7 @@ namespace vrt_packet_handler{
);
//commit the samples to the zero-copy interface
- if (send_buffs[i]->commit(if_packet_info.num_packet_words32*sizeof(boost::uint32_t)) < num_samps){
+ if (send_buffs[i]->commit(if_packet_info.num_packet_words32*sizeof(boost::uint32_t)) < ssize_t(num_samps)){
std::cerr << "commit to send buffer returned less than commit size" << std::endl;
}
}