summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/message_strobe_random_impl.h
diff options
context:
space:
mode:
authorPeter Horvath <ejcspii@gmail.com>2018-06-30 15:22:25 +0200
committerMarcus Müller <marcus.mueller@ettus.com>2018-07-08 08:41:04 +0200
commit0b752c07ef9a2597f1a8f6e910291eed3376e8aa (patch)
treed04860f69c2f6237f76748d0720c1842456a6472 /gr-blocks/lib/message_strobe_random_impl.h
parent7247b50a23681475cdf88518b52fad3185321073 (diff)
Unbreak boost 1.67. Constrain the delay in message_strobe to integer milliseconds.
Diffstat (limited to 'gr-blocks/lib/message_strobe_random_impl.h')
-rw-r--r--gr-blocks/lib/message_strobe_random_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-blocks/lib/message_strobe_random_impl.h b/gr-blocks/lib/message_strobe_random_impl.h
index 2dcaa7effa..786f3288f6 100644
--- a/gr-blocks/lib/message_strobe_random_impl.h
+++ b/gr-blocks/lib/message_strobe_random_impl.h
@@ -43,7 +43,7 @@ namespace gr {
message_strobe_random_distribution_t d_dist;
pmt::pmt_t d_msg;
void run();
- float next_delay();
+ long next_delay();
boost::mt19937 d_rng;
boost::shared_ptr< boost::variate_generator <boost::mt19937, boost::poisson_distribution<> > > d_variate_poisson;