From 077a53a1c6e1e4d69cb103c7d6b40f56e319daab Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 4 Mar 2018 18:07:05 -0500 Subject: [PATCH] ... --- coders/pdf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/coders/pdf.c b/coders/pdf.c index b38d8f274..7869b1395 100644 --- a/coders/pdf.c +++ b/coders/pdf.c @@ -226,8 +226,8 @@ static MagickBooleanType InvokePDFDelegate(const MagickBooleanType verbose, gsapi_init_with_args; ghost_info_struct.run_string=(int (*)(gs_main_instance *,const char *,int, int *)) gsapi_run_string; - ghost_info_struct.set_stdio=(int (*)(gs_main_instance *,int(*)(void *,char *, - int),int(*)(void *,const char *,int),int(*)(void *, const char *, int))) + ghost_info_struct.set_stdio=(int (*)(gs_main_instance *,int (*)(void *,char *, + int),int (*)(void *,const char *,int),int (*)(void *, const char *, int))) gsapi_set_stdio; ghost_info_struct.revision=(int (*)(gsapi_revision_t *,int)) gsapi_revision; #endif @@ -253,7 +253,7 @@ static MagickBooleanType InvokePDFDelegate(const MagickBooleanType verbose, (ghost_info->delete_instance)(interpreter); return(MagickFalse); } - (void) (ghost_info->set_stdio)(interpreter,(int(MagickDLLCall *)(void *, + (void) (ghost_info->set_stdio)(interpreter,(int (MagickDLLCall *)(void *, char *,int)) NULL,PDFDelegateMessage,PDFDelegateMessage); status=(ghost_info->init_with_args)(interpreter,argc-1,argv+1); if (status == 0) -- 2.40.0