commit | 7db5fc838a7f701e495d41b0ff6a070591c84340 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon May 24 11:59:29 2010 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon May 24 11:59:29 2010 +0200 |
tree | ac8f061dafa07580e8b6cf3fedcd290a9f43d3ac | |
parent | 55debbe38429b81c0ce6e8400aef36812eb151d7 [diff] [blame] |
Fix uninit memory read in undo code. Fix uint32_t in proto file. A few minor changes.
diff --git a/src/os_macosx.c b/src/os_macosx.c index 48023e3..0868ef0 100644 --- a/src/os_macosx.c +++ b/src/os_macosx.c
@@ -291,7 +291,7 @@ cd = (iconv_t)alloc(sizeof(struct _iconv_t)); if (!cd) goto ICONV_OPEN_ERR; - memset(cd, 0, sizeof(struct _iconv_t)); + vim_memset(cd, 0, sizeof(struct _iconv_t)); /* Create converter */ if (fromEnc != toEnc)