summaryrefslogtreecommitdiff
path: root/jbig2dec/jbig2_symbol_dict.h
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-12-12 17:47:17 +0000
committerRobin Watts <robin.watts@artifex.com>2016-12-13 00:21:55 +0000
commitcecf6b592945d247bf932f6a4f50065db4acfba8 (patch)
tree572e791d28e708b095cdcdeb8971cc6516fb5879 /jbig2dec/jbig2_symbol_dict.h
parent0efaa8dff5b82169313a086861597e0f455892d3 (diff)
downloadghostpdl-cecf6b592945d247bf932f6a4f50065db4acfba8.tar.gz
Squash signed/unsigned warnings in MSVC jbig2 build.
Also rename "new" to "new_dict", because "new" is a bad variable name.
Diffstat (limited to 'jbig2dec/jbig2_symbol_dict.h')
-rw-r--r--jbig2dec/jbig2_symbol_dict.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/jbig2dec/jbig2_symbol_dict.h b/jbig2dec/jbig2_symbol_dict.h
index d56d62db6..30211d4f2 100644
--- a/jbig2dec/jbig2_symbol_dict.h
+++ b/jbig2dec/jbig2_symbol_dict.h
@@ -32,18 +32,18 @@ int jbig2_symbol_dictionary(Jbig2Ctx *ctx, Jbig2Segment *segment, const byte *se
Jbig2Image *jbig2_sd_glyph(Jbig2SymbolDict *dict, unsigned int id);
/* return a new empty symbol dict */
-Jbig2SymbolDict *jbig2_sd_new(Jbig2Ctx *ctx, int n_symbols);
+Jbig2SymbolDict *jbig2_sd_new(Jbig2Ctx *ctx, uint32_t n_symbols);
/* release the memory associated with a symbol dict */
void jbig2_sd_release(Jbig2Ctx *ctx, Jbig2SymbolDict *dict);
/* generate a new symbol dictionary by concatenating a list of
existing dictionaries */
-Jbig2SymbolDict *jbig2_sd_cat(Jbig2Ctx *ctx, int n_dicts, Jbig2SymbolDict **dicts);
+Jbig2SymbolDict *jbig2_sd_cat(Jbig2Ctx *ctx, uint32_t n_dicts, Jbig2SymbolDict **dicts);
/* count the number of dictionary segments referred
to by the given segment */
-int jbig2_sd_count_referred(Jbig2Ctx *ctx, Jbig2Segment *segment);
+uint32_t jbig2_sd_count_referred(Jbig2Ctx *ctx, Jbig2Segment *segment);
/* return an array of pointers to symbol dictionaries referred
to by a segment */