mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.3.1311
Problem: Compiler warnings on Cygwin. Solution: Add type casts. Add windows include files. (Ken Takata)
This commit is contained in:
@@ -4108,7 +4108,7 @@ encname2codepage(name)
|
||||
p += 6;
|
||||
|
||||
if (p[0] == 'c' && p[1] == 'p')
|
||||
cp = atoi(p + 2);
|
||||
cp = atoi((char *)p + 2);
|
||||
else if ((idx = enc_canon_search(p)) >= 0)
|
||||
cp = enc_canon_table[idx].codepage;
|
||||
else
|
||||
|
Reference in New Issue
Block a user