From 5b7d177e8994c003ae77ddab5bd54f8cd1ee181b Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 13 Jun 2016 19:54:22 +0200 Subject: patch 7.4.1927 Problem: Compiler warning for signed/unsigned. Solution: Add type cast. --- 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 51b0352afb..645548f802 100644 --- 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); -- cgit v1.2.3