diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-04-17 22:14:47 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-04-17 22:14:47 +0000 |
commit | a93fa7ee7856b54d3778e613c7b7e4b76aaeb2af (patch) | |
tree | 4797f43c4e1694903d93da1b61ba972955cb6aad /src/memline.c | |
parent | b21e5843e53d3582df5f521f57e7e52e83d51d10 (diff) | |
download | vim-git-a93fa7ee7856b54d3778e613c7b7e4b76aaeb2af.tar.gz |
updated for version 7.0e01v7.0e01
Diffstat (limited to 'src/memline.c')
-rw-r--r-- | src/memline.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/memline.c b/src/memline.c index 5543e5d39..9284abbda 100644 --- a/src/memline.c +++ b/src/memline.c @@ -809,7 +809,7 @@ add_b0_fenc(b0p, buf) { int n; - n = STRLEN(buf->b_p_fenc); + n = (int)STRLEN(buf->b_p_fenc); if (STRLEN(b0p->b0_fname) + n + 1 > B0_FNAME_SIZE) b0p->b0_flags &= ~B0_HAS_FENC; else @@ -1066,7 +1066,7 @@ ml_recover() for (p = b0p->b0_fname + B0_FNAME_SIZE; p > b0p->b0_fname && p[-1] != NUL; --p) ; - b0_fenc = vim_strnsave(p, b0p->b0_fname + B0_FNAME_SIZE - p); + b0_fenc = vim_strnsave(p, (int)(b0p->b0_fname + B0_FNAME_SIZE - p)); } mf_put(mfp, hp, FALSE, FALSE); /* release block 0 */ @@ -2638,7 +2638,7 @@ ml_append_int(buf, lnum, line, len, newfile, mark) if (usingNetbeans) { if (STRLEN(line) > 0) - netbeans_inserted(buf, lnum+1, (colnr_T)0, line, STRLEN(line)); + netbeans_inserted(buf, lnum+1, (colnr_T)0, line, (int)STRLEN(line)); netbeans_inserted(buf, lnum+1, (colnr_T)STRLEN(line), (char_u *)"\n", 1); } @@ -2676,7 +2676,7 @@ ml_replace(lnum, line, copy) if (usingNetbeans) { netbeans_removed(curbuf, lnum, 0, (long)STRLEN(ml_get(lnum))); - netbeans_inserted(curbuf, lnum, 0, line, STRLEN(line)); + netbeans_inserted(curbuf, lnum, 0, line, (int)STRLEN(line)); } #endif if (curbuf->b_ml.ml_line_lnum != lnum) /* other line buffered */ |