summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorL Peter Deutsch <lpd@ghostscript.com>2000-04-05 19:55:29 +0000
committerL Peter Deutsch <lpd@ghostscript.com>2000-04-05 19:55:29 +0000
commit7b371f78871e2a69e9e59a3da53b01e106c99570 (patch)
tree3825c9eee46eca1c66666b534b08cb05fd118b1d
parentbc7e8c0d0457f0caa1b3e2ecff8e05a276d96887 (diff)
downloadghostpdl-7b371f78871e2a69e9e59a3da53b01e106c99570.tar.gz
Fix: Updates clients for the change in the last argument of cff_string_index
from uint * to int *. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@248 a1074d23-0009-0410-80fe-cf8c14f379e6
-rw-r--r--gs/src/gdevpsf2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gs/src/gdevpsf2.c b/gs/src/gdevpsf2.c
index b4375c57c..60f7644c2 100644
--- a/gs/src/gdevpsf2.c
+++ b/gs/src/gdevpsf2.c
@@ -143,7 +143,7 @@ cff_string_index(cff_string_table_t *pcst, const byte *data, uint size,
private int
cff_string_sid(cff_writer_t *pcw, const byte *data, uint size)
{
- uint index;
+ int index;
int code = cff_string_index(&pcw->std_strings, data, size, false, &index);
if (code < 0) {
@@ -1175,7 +1175,7 @@ psf_write_type2_font(stream *s, gs_font_type1 *pfont, int options,
++j) {
uint size;
const byte *str = pfont->procs.callbacks.glyph_name(glyph, &size);
- uint ignore;
+ int ignore;
cff_string_index(&writer.std_strings, str, size, true, &ignore);
}