summaryrefslogtreecommitdiff
path: root/src/mbyte.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-07-05 20:09:16 +0200
committerBram Moolenaar <Bram@vim.org>2013-07-05 20:09:16 +0200
commit2c6f3dca4e632c810a007244bbd367ecfccca522 (patch)
tree40c953ef6db7a406820d6c310054c1b3c3b261ce /src/mbyte.c
parent266411aa8a95c63e6a3bd81736ce6519a241cc60 (diff)
downloadvim-git-2c6f3dca4e632c810a007244bbd367ecfccca522.tar.gz
updated for version 7.3.1311v7.3.1311
Problem: Compiler warnings on Cygwin. Solution: Add type casts. Add windows include files. (Ken Takata)
Diffstat (limited to 'src/mbyte.c')
-rw-r--r--src/mbyte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbyte.c b/src/mbyte.c
index e0b249862..68c1e941d 100644
--- a/src/mbyte.c
+++ b/src/mbyte.c
@@ -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