From e9905a08064f5f2ab59aa648c3eacb74f87ed5d5 Mon Sep 17 00:00:00 2001 From: OBattler Date: Fri, 6 Dec 2019 03:50:06 +0100 Subject: [PATCH] Fixed a warning in printer/prt_ps.c (yeah, I know, nothing to do with video, but ah well). --- src/printer/prt_ps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/printer/prt_ps.c b/src/printer/prt_ps.c index 39d192d08..1391b7e0a 100644 --- a/src/printer/prt_ps.c +++ b/src/printer/prt_ps.c @@ -8,7 +8,7 @@ * * Implementation of a generic PostScript printer. * - * Version: @(#)prt_ps.c 1.0.0 2019/xx/xx + * Version: @(#)prt_ps.c 1.0.1 2019/12/06 * * Authors: David Hrdlička, * @@ -145,7 +145,7 @@ convert_to_pdf(ps_t *dev) code = ghostscript_set_arg_encoding(instance, GS_ARG_ENCODING_UTF16LE); if (code == 0) - code = ghostscript_init_with_args(instance, 9, gsargv); + code = ghostscript_init_with_args(instance, 9, (char **) gsargv); if (code == 0 || code == gs_error_Quit) code = ghostscript_exit(instance);