diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-18 21:19:21 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-18 21:19:21 +0100 |
commit | 74a97b1ea0fe2c729e26718d0eec4164c8bed151 (patch) | |
tree | d2f5d9588fe89514b7a434c89e2970deb051718c /src/if_mzsch.c | |
parent | 7f0608fb5219645d776fadfe13efb867c2460698 (diff) | |
download | vim-git-74a97b1ea0fe2c729e26718d0eec4164c8bed151.tar.gz |
patch 7.4.1349v7.4.1349
Problem: And some more MingW compiler warnings. (Cesar Romani)
Solution: Add type casts.
Diffstat (limited to 'src/if_mzsch.c')
-rw-r--r-- | src/if_mzsch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/if_mzsch.c b/src/if_mzsch.c index f291da71b..0a3c201f3 100644 --- a/src/if_mzsch.c +++ b/src/if_mzsch.c @@ -1101,10 +1101,10 @@ startup_mzscheme(void) MZ_GC_VAR_IN_REG(0, coll_path); MZ_GC_REG(); /* workaround for dynamic loading on windows */ - s = vim_getenv("PLTCOLLECTS", &mustfree); + s = vim_getenv((char_u *)"PLTCOLLECTS", &mustfree); if (s != NULL) { - coll_path = scheme_make_path(s); + coll_path = scheme_make_path((char *)s); MZ_GC_CHECK(); if (mustfree) vim_free(s); |