[gs-commits] ghostpdl branch, master, updated. jbig2dec-0.14-1689-g3aa9b05
[email protected] (Robin Watts)
| Newsgroups | gmane.comp.printing.ghostscript.cvs |
|---|---|
| Message-ID | <[email protected]> |
The ghostpdl branch, master has been updated
via 3aa9b059018bb49ddf67a87ddd87e01157143b99 (commit)
from a09321624369d215a733fb991bf48c300c90107a (commit)
----------------------------------------------------------------------
commit 3aa9b059018bb49ddf67a87ddd87e01157143b99
Author: Robin Watts <[email protected]>
Date: Fri Sep 20 19:42:01 2019 +0100
Squash some "const" warnings.
diff --git a/pcl/pl/plmain.c b/pcl/pl/plmain.c
index ff89da2..0736eec 100644
--- a/pcl/pl/plmain.c
+++ b/pcl/pl/plmain.c
@@ -839,7 +839,7 @@ set_debug_flags(const char *arg, char *flags)
* number of arguments requested in the parameter arg_count.
*/
static int
-parse_floats(gs_memory_t * mem, uint arg_count, char *arg, float *f)
+parse_floats(gs_memory_t * mem, uint arg_count, const char *arg, float *f)
{
int float_index = 0;
char *tok, *l = NULL;
@@ -961,7 +961,7 @@ pl_main_post_args_init(pl_main_instance_t * pmi)
}
static int
-handle_dash_c(pl_main_instance_t *pmi, arg_list *pal, char **collected_commands, char **arg)
+handle_dash_c(pl_main_instance_t *pmi, arg_list *pal, char **collected_commands, const char **arg)
{
bool ats = pal->expand_ats;
int code = 0;
@@ -1346,7 +1346,7 @@ pl_main_process_options(pl_main_instance_t * pmi, arg_list * pal,
{
int code = 0;
bool help = false;
- char *arg = NULL;
+ const char *arg = NULL;
gs_c_param_list *params = &pmi->params;
int device_index = -1;
char *collected_commands = NULL;
Summary of changes:
pcl/pl/plmain.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)