diff options
Diffstat (limited to 'gr-pager/lib/pager_flex_sync.cc')
-rw-r--r-- | gr-pager/lib/pager_flex_sync.cc | 2 |
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: |