summaryrefslogtreecommitdiff
path: root/src/netbeans.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-01-18 10:40:55 +0000
committerBram Moolenaar <Bram@vim.org>2008-01-18 10:40:55 +0000
commitb3c7098365eadbb7be671361837435f370fe272e (patch)
tree3a5475d3551a317453b440ba3ff0d34f21d25f50 /src/netbeans.c
parent21b17e7741cc08ca7f0e7606b73373d5b37e5ede (diff)
downloadvim-git-b3c7098365eadbb7be671361837435f370fe272e.tar.gz
updated for version 7.1-232v7.1.232
Diffstat (limited to 'src/netbeans.c')
-rw-r--r--src/netbeans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netbeans.c b/src/netbeans.c
index 91b9f207a..e3e32008e 100644
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -1217,7 +1217,7 @@ nb_partialremove(linenr_T lnum, colnr_T first, colnr_T last)
oldtext = ml_get(lnum);
oldlen = STRLEN(oldtext);
- if (first >= oldlen || oldlen == 0) /* just in case */
+ if (first >= (colnr_T)oldlen || oldlen == 0) /* just in case */
return;
if (lastbyte >= oldlen)
lastbyte = oldlen - 1;