diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2023-01-04 11:18:15 +0000 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2023-01-04 15:25:10 +0000 |
commit | 18aea60d191e2007366912a31f436eb725542438 (patch) | |
tree | aa2b5281484dc9f7547815ecca52356d13c35005 /cups | |
parent | 4f2a4e4e9e6f04317234bf8ae3c9787fa1cec8f0 (diff) | |
download | ghostpdl-18aea60d191e2007366912a31f436eb725542438.tar.gz |
Fix assignment discards const compiler warning
Diffstat (limited to 'cups')
-rw-r--r-- | cups/gdevcups.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cups/gdevcups.c b/cups/gdevcups.c index cf2ba5e4b..55d64edd4 100644 --- a/cups/gdevcups.c +++ b/cups/gdevcups.c @@ -4986,7 +4986,7 @@ cups_print_chunked(gx_device_printer *pdev, #endif ystart, yend, ystep; /* Loop control for scanline order */ ppd_attr_t *backside = NULL; - char *backside_str = "Normal"; + const char *backside_str = "Normal"; int flip_duplex = 0; #ifdef CUPS_DEBUG @@ -5225,9 +5225,10 @@ cups_print_banded(gx_device_printer *pdev, #endif ystart, yend, ystep; /* Loop control for scanline order */ ppd_attr_t *backside = NULL; - char *backside_str = "Normal"; + const char *backside_str = "Normal"; int flip_duplex = 0; + #ifdef CUPS_DEBUG dmprintf1(pdev->memory, "DEBUG2: cups->header.Duplex = %d\n", cups->header.Duplex); dmprintf1(pdev->memory, "DEBUG2: cups->header.Tumble = %d\n", cups->header.Tumble); |