diff options
Diffstat (limited to 'Build/source/texk/dvipdfmx/src/pdfencoding.c')
-rw-r--r-- | Build/source/texk/dvipdfmx/src/pdfencoding.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/dvipdfmx/src/pdfencoding.c b/Build/source/texk/dvipdfmx/src/pdfencoding.c index 182a3598b53..539a575748e 100644 --- a/Build/source/texk/dvipdfmx/src/pdfencoding.c +++ b/Build/source/texk/dvipdfmx/src/pdfencoding.c @@ -287,7 +287,7 @@ load_encoding_file (const char *filename) pdf_obj *encoding_array = NULL; char *wbuf; const char *p, *endptr; - char *enc_vec[256]; + const char *enc_vec[256]; int code, fsize, enc_id; if (!filename) @@ -339,7 +339,7 @@ load_encoding_file (const char *filename) enc_vec[code] = pdf_name_value(pdf_get_array(encoding_array, code)); } enc_id = pdf_encoding_new_encoding(enc_name ? pdf_name_value(enc_name) : NULL, - filename, (const char **) enc_vec, NULL, 0); + filename, enc_vec, NULL, 0); if (enc_name) { if (verbose > 1) |