patch 7.4.1355
Problem: Win32 console and GUI handle channels differently.
Solution: Consolidate code between Win32 console and GUI.
diff --git a/src/eval.c b/src/eval.c
index 86ff585..781cd3d 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -14635,14 +14635,14 @@
ga_concat(&ga, (char_u *)" ");
ga_concat(&ga, (char_u *)argv[i]);
}
- ch_logs(NULL, "Starting job: %s", ga.ga_data);
+ ch_logs(NULL, "Starting job: %s", (char *)ga.ga_data);
ga_clear(&ga);
}
# endif
mch_start_job(argv, job, &options);
#else
# ifdef FEAT_CHANNEL
- ch_logs(NULL, "Starting job: %s", cmd);
+ ch_logs(NULL, "Starting job: %s", (char *)cmd);
# endif
mch_start_job((char *)cmd, job, &options);
#endif