diff options
Diffstat (limited to 'src/textprop.c')
-rw-r--r-- | src/textprop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textprop.c b/src/textprop.c index fcf374140..0abae1327 100644 --- a/src/textprop.c +++ b/src/textprop.c @@ -1220,7 +1220,7 @@ join_prop_lines( oldproplen = get_text_props(curbuf, lnum, &props, FALSE); len = STRLEN(newp) + 1; - line = alloc((int)(len + (oldproplen + proplen) * sizeof(textprop_T))); + line = alloc(len + (oldproplen + proplen) * sizeof(textprop_T)); if (line == NULL) return; mch_memmove(line, newp, len); |