diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-03-16 15:04:34 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-03-16 15:04:34 +0000 |
commit | cb4cef2206b19e5d8737580eee29b44f45cb7de1 (patch) | |
tree | b1b913a81d81e668f2c33ba5fde0de5255cdae6a /src/netbeans.c | |
parent | 0fde290e55feb8f3505c790c8ce9b5302893dfae (diff) | |
download | vim-git-cb4cef2206b19e5d8737580eee29b44f45cb7de1.tar.gz |
updated for version 7.1-283v7.1.283
Diffstat (limited to 'src/netbeans.c')
-rw-r--r-- | src/netbeans.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/netbeans.c b/src/netbeans.c index e3e32008e..ed415a5cc 100644 --- a/src/netbeans.c +++ b/src/netbeans.c @@ -1216,7 +1216,7 @@ nb_partialremove(linenr_T lnum, colnr_T first, colnr_T last) int lastbyte = last; oldtext = ml_get(lnum); - oldlen = STRLEN(oldtext); + oldlen = (int)STRLEN(oldtext); if (first >= (colnr_T)oldlen || oldlen == 0) /* just in case */ return; if (lastbyte >= oldlen) @@ -1241,8 +1241,8 @@ nb_joinlines(linenr_T first, linenr_T other) int len_first, len_other; char_u *p; - len_first = STRLEN(ml_get(first)); - len_other = STRLEN(ml_get(other)); + len_first = (int)STRLEN(ml_get(first)); + len_other = (int)STRLEN(ml_get(other)); p = alloc((unsigned)(len_first + len_other + 1)); if (p != NULL) { |