diff options
author | Ken Sharp <ken.sharp@artifex.com> | 2021-09-24 08:04:46 +0100 |
---|---|---|
committer | Ken Sharp <ken.sharp@artifex.com> | 2021-09-24 08:04:46 +0100 |
commit | 9329f3f94185d5477fa105861beca2556225b0f2 (patch) | |
tree | 4d24028baea6bf2f9104213d82144711acbaeb91 /pdf/pdf_colour.c | |
parent | c21f5f70f6ef15f3d1ec1975d5510e2c0dd959fd (diff) | |
download | ghostpdl-9329f3f94185d5477fa105861beca2556225b0f2.tar.gz |
Ghostpdf - silence a couple of compiler warnings
Include pdf_misc.h to rpvide a function prototype
Change a debug print to use a 64-bit format specifier instead of a
long for a 64-bit variable.
Diffstat (limited to 'pdf/pdf_colour.c')
-rw-r--r-- | pdf/pdf_colour.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_colour.c b/pdf/pdf_colour.c index 8c28ae43b..faa9c5a29 100644 --- a/pdf/pdf_colour.c +++ b/pdf/pdf_colour.c @@ -2090,7 +2090,7 @@ pdfi_create_indexed(pdf_context *ctx, pdf_array *color_array, int index, num_values = (hival+1) * cs_num_components(pcs_base); if (num_values > lookup_length) { - dmprintf2(ctx->memory, "WARNING: pdfi_create_indexed() got %ld values, expected at least %d values\n", + dmprintf2(ctx->memory, "WARNING: pdfi_create_indexed() got %"PRIi64" values, expected at least %d values\n", lookup_length, num_values); code = gs_note_error(gs_error_rangecheck); goto exit; |