Skip to content

Commit

Permalink
Fix compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
gwsw committed Sep 16, 2023
1 parent 349e6fe commit a5ea9e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion position.c
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,6 @@ public void pos_rehead(void)
if (linepos == tpos)
return;
table[TOP] = linepos;
hshift = pos_shift(linepos, tpos - linepos);
hshift = pos_shift(linepos, (int)(tpos - linepos));
screen_trashed();
}

0 comments on commit a5ea9e7

Please sign in to comment.