From: Cristy Date: Sun, 4 Mar 2018 23:07:05 +0000 (-0500) Subject: ... X-Git-Tag: 7.0.7-26~86 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=077a53a1c6e1e4d69cb103c7d6b40f56e319daab;p=imagemagick ... --- 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)