diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-03-17 21:51:03 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-03-17 21:51:03 +0100 |
commit | 1c8b4edb9b6cd5248925f3f06ec82486be9fb4ea (patch) | |
tree | 25cd006e79b3f1b7307608e7c239ecf3399f9c21 /src/ex_cmds2.c | |
parent | 8a1bb046378f4bc68d6a04af2eab80fb3ce04da6 (diff) | |
download | vim-1c8b4edb9b6cd5248925f3f06ec82486be9fb4ea.zip |
patch 7.4.1587
Problem: Compiler warnings with 64 bit compiler.
Solution: Add type casts. (Mike Williams)
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r-- | src/ex_cmds2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index 19210f30b..0a9895a35 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -3272,7 +3272,7 @@ do_in_runtimepath( if ((done == FAIL || (flags & DIP_ALL)) && (flags & DIP_START)) { - len = STRLEN(start_dir) + STRLEN(name); + len = (int)(STRLEN(start_dir) + STRLEN(name)); s = alloc(len); if (s == NULL) return FAIL; @@ -3283,7 +3283,7 @@ do_in_runtimepath( if ((done == FAIL || (flags & DIP_ALL)) && (flags & DIP_OPT)) { - len = STRLEN(opt_dir) + STRLEN(name); + len = (int)(STRLEN(opt_dir) + STRLEN(name)); s = alloc(len); if (s == NULL) return FAIL; |