diff src/if_mzsch.c @ 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 ea504064c996
children fd9727ae3c49
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);