Mercurial > vim
changeset 8110:d1974721ddc5 v7.4.1349
commit https://github.com/vim/vim/commit/74a97b1ea0fe2c729e26718d0eec4164c8bed151
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 18 21:19:21 2016 +0100
patch 7.4.1349
Problem: And some more MingW compiler warnings. (Cesar Romani)
Solution: Add type casts.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 18 Feb 2016 21:30:04 +0100 |
parents | 72614c7dc828 |
children | b741d3837a9e |
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 @@ -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);