* src/scroll.c (calculate_scrolling): Remove casts.
This commit is contained in:
parent
ee3f469870
commit
1baf191a48
1 changed files with 2 additions and 2 deletions
|
@ -186,13 +186,13 @@ calculate_scrolling (struct frame *frame,
|
|||
else
|
||||
{
|
||||
cost = p1->writecost + first_insert_cost[i];
|
||||
if ((int) p1->insertcount > i)
|
||||
if (p1->insertcount > i)
|
||||
emacs_abort ();
|
||||
cost1 = p1->insertcost + next_insert_cost[i - p1->insertcount];
|
||||
}
|
||||
p->insertcost = min (cost, cost1) + draw_cost[i] + extra_cost;
|
||||
p->insertcount = (cost < cost1) ? 1 : p1->insertcount + 1;
|
||||
if ((int) p->insertcount > i)
|
||||
if (p->insertcount > i)
|
||||
emacs_abort ();
|
||||
|
||||
/* Calculate the cost if we do a delete line after
|
||||
|
|
Loading…
Add table
Reference in a new issue