From 11c2435ef12e417851067bac2adcd9f3d21908d0 Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Tue, 26 Jul 2011 22:00:49 -0400 Subject: Fixed type warning. --- gr-pager/lib/pager_flex_sync.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gr-pager/lib/pager_flex_sync.cc') 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: -- cgit