diff options
author | Tom Rondeau | 2010-10-31 18:09:19 -0400 |
---|---|---|
committer | Tom Rondeau | 2010-10-31 18:09:19 -0400 |
commit | 0bc7116e5227f95b7a5de944bc65c5a8b55e0ed5 (patch) | |
tree | 2282a4a2a093fec3882c7f10c967bb02c8021083 /gnuradio-core/src/lib | |
parent | 13f00f0ad96ee54a98751f9dceca005078850c93 (diff) | |
download | gnuradio-0bc7116e5227f95b7a5de944bc65c5a8b55e0ed5.tar.gz gnuradio-0bc7116e5227f95b7a5de944bc65c5a8b55e0ed5.tar.bz2 gnuradio-0bc7116e5227f95b7a5de944bc65c5a8b55e0ed5.zip |
Using pmt_eqv for key testing instead of == to make sure typing is worked out properly.
Diffstat (limited to 'gnuradio-core/src/lib')
-rw-r--r-- | gnuradio-core/src/lib/runtime/gr_block_detail.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/runtime/gr_block_detail.cc b/gnuradio-core/src/lib/runtime/gr_block_detail.cc index 1007f13ef..effaf5269 100644 --- a/gnuradio-core/src/lib/runtime/gr_block_detail.cc +++ b/gnuradio-core/src/lib/runtime/gr_block_detail.cc @@ -222,7 +222,7 @@ gr_block_detail::get_tags_in_range(unsigned int which_output, } itemkey = pmt::pmt_tuple_ref(*itr, 2); - if((item_time >= start) && (item_time <= end) && (key == itemkey)) { + if((item_time >= start) && (item_time <= end) && pmt::pmt_eqv(key, itemkey)) { found_items.push_back(*itr); } |