summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gr-blocks/lib/keep_m_in_n_impl.cc4
-rw-r--r--gr-blocks/lib/keep_m_in_n_impl.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/gr-blocks/lib/keep_m_in_n_impl.cc b/gr-blocks/lib/keep_m_in_n_impl.cc
index b3efdd962..312b09c25 100644
--- a/gr-blocks/lib/keep_m_in_n_impl.cc
+++ b/gr-blocks/lib/keep_m_in_n_impl.cc
@@ -39,10 +39,10 @@ namespace gr {
: gr_block("keep_m_in_n",
gr_make_io_signature (1, 1, itemsize),
gr_make_io_signature (1, 1, itemsize)),
- d_itemsize(itemsize),
d_m(m),
d_n(n),
- d_offset(offset)
+ d_offset(offset),
+ d_itemsize(itemsize)
{
// sanity checking
assert(d_m > 0);
diff --git a/gr-blocks/lib/keep_m_in_n_impl.h b/gr-blocks/lib/keep_m_in_n_impl.h
index 5e264dba0..0b8819489 100644
--- a/gr-blocks/lib/keep_m_in_n_impl.h
+++ b/gr-blocks/lib/keep_m_in_n_impl.h
@@ -30,8 +30,8 @@ namespace gr {
class BLOCKS_API keep_m_in_n_impl : public keep_m_in_n
{
- int d_n;
int d_m;
+ int d_n;
int d_count;
int d_offset;
int d_itemsize;