summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/runtime
diff options
context:
space:
mode:
authorTom Rondeau2010-10-31 18:09:19 -0400
committerTom Rondeau2010-10-31 18:09:19 -0400
commit0bc7116e5227f95b7a5de944bc65c5a8b55e0ed5 (patch)
tree2282a4a2a093fec3882c7f10c967bb02c8021083 /gnuradio-core/src/lib/runtime
parent13f00f0ad96ee54a98751f9dceca005078850c93 (diff)
downloadgnuradio-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/runtime')
-rw-r--r--gnuradio-core/src/lib/runtime/gr_block_detail.cc2
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);
}