Mercurial > vim
comparison src/edit.c @ 5341:09361f13580b v7.4.023
updated for version 7.4.023
Problem: Compiler warning on 64 bit windows.
Solution: Add type cast. (Mike Williams)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 07 Sep 2013 16:35:42 +0200 |
parents | d5eb32dc231c |
children | 9085d32d7424 |
comparison
equal
deleted
inserted
replaced
5340:22da5ab9aaa1 | 5341:09361f13580b |
---|---|
5187 | 5187 |
5188 /* Go back to just before the first filename character. */ | 5188 /* Go back to just before the first filename character. */ |
5189 mb_ptr_back(line, p); | 5189 mb_ptr_back(line, p); |
5190 while (vim_isfilec(PTR2CHAR(p)) && p >= line) | 5190 while (vim_isfilec(PTR2CHAR(p)) && p >= line) |
5191 mb_ptr_back(line, p); | 5191 mb_ptr_back(line, p); |
5192 startcol = p - line; | 5192 startcol = (int)(p - line); |
5193 | 5193 |
5194 compl_col += ++startcol; | 5194 compl_col += ++startcol; |
5195 compl_length = (int)curs_col - startcol; | 5195 compl_length = (int)curs_col - startcol; |
5196 compl_pattern = addstar(line + compl_col, compl_length, | 5196 compl_pattern = addstar(line + compl_col, compl_length, |
5197 EXPAND_FILES); | 5197 EXPAND_FILES); |