Mercurial > vim
changeset 9289:29de7dda7a6a v7.4.1927
commit https://github.com/vim/vim/commit/5b7d177e8994c003ae77ddab5bd54f8cd1ee181b
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 13 19:54:22 2016 +0200
patch 7.4.1927
Problem: Compiler warning for signed/unsigned.
Solution: Add type cast.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 13 Jun 2016 20:00:06 +0200 |
parents | d5c81e42517c |
children | 184a68b8089c |
files | src/if_mzsch.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/if_mzsch.c +++ b/src/if_mzsch.c @@ -1174,10 +1174,10 @@ startup_mzscheme(void) MZ_GC_VAR_IN_REG(0, config_path); MZ_GC_REG(); /* workaround for dynamic loading on windows */ - s = vim_getenv("PLTCONFIGDIR", &mustfree); + s = vim_getenv((char_u *)"PLTCONFIGDIR", &mustfree); if (s != NULL) { - config_path = scheme_make_path(s); + config_path = scheme_make_path((char *)s); MZ_GC_CHECK(); if (mustfree) vim_free(s);