summaryrefslogtreecommitdiff
path: root/src/getchar.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-10-27 12:18:00 +0200
committerBram Moolenaar <Bram@vim.org>2010-10-27 12:18:00 +0200
commit6b5ef067a548f1995dfb09190eca5a3560c2dad6 (patch)
tree9472a2b3bf60d07fe0d31ad5244ba1fc4afc944d /src/getchar.c
parent786989ba370724dd61bb8157769f26d988c6eaed (diff)
downloadvim-git-6b5ef067a548f1995dfb09190eca5a3560c2dad6.tar.gz
updated for version 7.3.037v7.3.037
Problem: Compiler warnings for loss of data. (Mike Williams) Solution: Add type casts.
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c
index 05693727f..fb28160e5 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -3922,7 +3922,7 @@ showmap(mp, local)
if (mapchars != NULL)
{
msg_puts(mapchars);
- len = STRLEN(mapchars);
+ len = (int)STRLEN(mapchars);
vim_free(mapchars);
}