diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-29 21:20:48 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-29 21:20:48 +0100 |
commit | 2f6271b1e7cff985cac66f6850116bcf3fcccd58 (patch) | |
tree | e19881c35030148e1c4981e8589b7c49bdddd23d /src/misc2.c | |
parent | a86f14a923d9a242107c16d0852f61f3daf985a8 (diff) | |
download | vim-git-2f6271b1e7cff985cac66f6850116bcf3fcccd58.tar.gz |
patch 7.4.1462v7.4.1462
Problem: Two more rarily used functions with errors.
Solution: Add proper argument types. (Dominique Pelle)
Diffstat (limited to 'src/misc2.c')
-rw-r--r-- | src/misc2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/misc2.c b/src/misc2.c index c1519ef91..48acde8b6 100644 --- a/src/misc2.c +++ b/src/misc2.c @@ -1729,13 +1729,14 @@ vim_memcmp(void *b1, void *b2, size_t len) } #endif +/* skipped when generating prototypes, the prototype is in vim.h */ #ifdef VIM_MEMMOVE /* * Version of memmove() that handles overlapping source and destination. * For systems that don't have a function that is guaranteed to do that (SYSV). */ void -mch_memmove(void *src_arg, *dst_arg, size_t len) +mch_memmove(void *src_arg, void *dst_arg, size_t len) { /* * A void doesn't have a size, we use char pointers. |