From 74a97b1ea0fe2c729e26718d0eec4164c8bed151 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 18 Feb 2016 21:19:21 +0100 Subject: patch 7.4.1349 Problem: And some more MingW compiler warnings. (Cesar Romani) Solution: Add type casts. --- src/if_mzsch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/if_mzsch.c') diff --git a/src/if_mzsch.c b/src/if_mzsch.c index f291da71b7..0a3c201f37 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); -- cgit v1.2.3