summaryrefslogtreecommitdiff
path: root/gr-pager
diff options
context:
space:
mode:
authorTom Rondeau2011-07-26 22:00:49 -0400
committerTom Rondeau2011-07-26 22:00:49 -0400
commit11c2435ef12e417851067bac2adcd9f3d21908d0 (patch)
tree37013f693b75812c24e6504da6bacf9e9ca3b659 /gr-pager
parentf6318ef04d03be8f2e039d4fa71eba9105758783 (diff)
downloadgnuradio-11c2435ef12e417851067bac2adcd9f3d21908d0.tar.gz
gnuradio-11c2435ef12e417851067bac2adcd9f3d21908d0.tar.bz2
gnuradio-11c2435ef12e417851067bac2adcd9f3d21908d0.zip
Fixed type warning.
Diffstat (limited to 'gr-pager')
-rw-r--r--gr-pager/lib/pager_flex_sync.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-pager/lib/pager_flex_sync.cc b/gr-pager/lib/pager_flex_sync.cc
index 61cf4ad38..30666298f 100644
--- a/gr-pager/lib/pager_flex_sync.cc
+++ b/gr-pager/lib/pager_flex_sync.cc
@@ -274,7 +274,7 @@ int pager_flex_sync::general_work(int noutput_items,
while (i < ninputs && j < noutput_items) {
unsigned char sym = *in++; i++;
- d_index = ++d_index % d_spb;
+ d_index = (d_index+1) % d_spb;
switch (d_state) {
case ST_IDLE: