aboutsummaryrefslogtreecommitdiff
path: root/include/08.heap/heap14.c
blob: 6edcf6fbebae4495eda5d2c18a5fb161e97cb4c7 (plain)
1
2
3
4
            for (x = (b->lfb + 1 >= bcnt ? 0 : b->lfb + 1); x != b->lfb; ++x)
            {
                /* just wrap around */
                if (x >= bcnt) x = 0;