diff options
Diffstat (limited to 'source/pdf')
-rw-r--r-- | source/pdf/pdf-cmap-load.c | 2 | ||||
-rw-r--r-- | source/pdf/pdf-shade.c | 2 | ||||
-rw-r--r-- | source/pdf/pdf-store.c | 2 | ||||
-rw-r--r-- | source/pdf/pdf-xobject.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/source/pdf/pdf-cmap-load.c b/source/pdf/pdf-cmap-load.c index 1c72e139..06359242 100644 --- a/source/pdf/pdf-cmap-load.c +++ b/source/pdf/pdf-cmap-load.c @@ -1,6 +1,6 @@ #include "mupdf/pdf.h" -unsigned int +size_t pdf_cmap_size(fz_context *ctx, pdf_cmap *cmap) { if (cmap == NULL) diff --git a/source/pdf/pdf-shade.c b/source/pdf/pdf-shade.c index 265f3cc0..b8e138c0 100644 --- a/source/pdf/pdf-shade.c +++ b/source/pdf/pdf-shade.c @@ -424,7 +424,7 @@ pdf_load_shading_dict(fz_context *ctx, pdf_document *doc, pdf_obj *dict, const f return shade; } -static unsigned int +static size_t fz_shade_size(fz_shade *s) { if (s == NULL) diff --git a/source/pdf/pdf-store.c b/source/pdf/pdf-store.c index 81dd6f0f..7be7eafe 100644 --- a/source/pdf/pdf-store.c +++ b/source/pdf/pdf-store.c @@ -52,7 +52,7 @@ static fz_store_type pdf_obj_store_type = }; void -pdf_store_item(fz_context *ctx, pdf_obj *key, void *val, unsigned int itemsize) +pdf_store_item(fz_context *ctx, pdf_obj *key, void *val, size_t itemsize) { void *existing; existing = fz_store_item(ctx, key, val, itemsize, &pdf_obj_store_type); diff --git a/source/pdf/pdf-xobject.c b/source/pdf/pdf-xobject.c index 316ca973..cd8418bd 100644 --- a/source/pdf/pdf-xobject.c +++ b/source/pdf/pdf-xobject.c @@ -25,7 +25,7 @@ pdf_drop_xobject_imp(fz_context *ctx, fz_storable *xobj_) fz_free(ctx, xobj); } -static unsigned int +static size_t pdf_xobject_size(pdf_xobject *xobj) { if (xobj == NULL) |