summaryrefslogtreecommitdiff
path: root/src/ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ops.c')
-rw-r--r--src/ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ops.c b/src/ops.c
index ca327b955..37c6aab48 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -4352,7 +4352,7 @@ do_join(count, insert_space, save_undo, use_formatoptions)
char_u *new_curr = skip_comment(curr, TRUE, insert_space,
&prev_was_comment);
- comments[t] = new_curr - curr;
+ comments[t] = (int)(new_curr - curr);
curr = new_curr;
}
else