@@ -149,7 +149,7 @@ main(int argc, // I - Number of command-line arguments
149149 // Keeping vector formats (like PS -> PDF) is usually more desirable
150150 // but as many printers have buggy PS interpreters we prefer converting
151151 // PDF to Raster and not to PS
152- spooling_conversions = cupsArrayNew (NULL , NULL );
152+ spooling_conversions = cupsArrayNew (NULL , NULL , NULL , 0 , NULL , NULL );
153153
154154 // Special conversion rule for fxlinuxprint driver (Fuji Xerox
155155 // non-IPP-driverless PDF printers)
@@ -168,14 +168,14 @@ main(int argc, // I - Number of command-line arguments
168168 // PDF comes last because it is generally not streamable.
169169 // PostScript comes second as it is Ghostscript's streamable
170170 // input format.
171- stream_formats = cupsArrayNew (NULL , NULL );
171+ stream_formats = cupsArrayNew (NULL , NULL , NULL , 0 , NULL , NULL );
172172 cupsArrayAdd (stream_formats , (void * )& PR_STREAM_CUPS_RASTER );
173173 cupsArrayAdd (stream_formats , (void * )& PR_STREAM_POSTSCRIPT );
174174 cupsArrayAdd (stream_formats , (void * )& PR_STREAM_PDF );
175175
176176 // Array of regular expressions for driver priorization
177177 // For some printers the "(recommended)" is missing ...
178- driver_selection_regex_list = cupsArrayNew (NULL , NULL );
178+ driver_selection_regex_list = cupsArrayNew (NULL , NULL , NULL , 0 , NULL , NULL );
179179 cupsArrayAdd (driver_selection_regex_list , "-recommended-" );
180180 cupsArrayAdd (driver_selection_regex_list , "-pdf-" );
181181 cupsArrayAdd (driver_selection_regex_list , "-postscript-" );
0 commit comments