summaryrefslogtreecommitdiff
path: root/src/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c
index 8a008cbfd..6e2fdb844 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -1943,7 +1943,7 @@ change_indent(
{
curwin->w_cursor.col = (colnr_T)new_cursor_col;
i = (int)curwin->w_virtcol - vcol;
- ptr = alloc((unsigned)(i + 1));
+ ptr = alloc(i + 1);
if (ptr != NULL)
{
new_cursor_col += i;