summaryrefslogtreecommitdiff
path: root/src/if_mzsch.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-06-13 19:54:22 +0200
committerBram Moolenaar <Bram@vim.org>2016-06-13 19:54:22 +0200
commit5b7d177e8994c003ae77ddab5bd54f8cd1ee181b (patch)
tree16268b9913939e6d41be0e31ee815b16f5ffb505 /src/if_mzsch.c
parenta890f5e34887bff7616bdb4b9ee0bf98c8d2a8f0 (diff)
downloadvim-git-5b7d177e8994c003ae77ddab5bd54f8cd1ee181b.tar.gz
patch 7.4.1927v7.4.1927
Problem: Compiler warning for signed/unsigned. Solution: Add type cast.
Diffstat (limited to 'src/if_mzsch.c')
-rw-r--r--src/if_mzsch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/if_mzsch.c b/src/if_mzsch.c
index 51b0352af..645548f80 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);