summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/glyph.h
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-06-08 12:42:57 +0100
committerRobin Watts <robin.watts@artifex.com>2016-06-08 13:53:56 +0100
commit2fd7f11cfe4ebdc6d1035db521e61d15101ab36e (patch)
treecf18d3cc3ab606b4f22684ef4ea2ea3f06d41602 /include/mupdf/fitz/glyph.h
parentfea0f8467f983cc5c1075d19787a4b398d0d5e22 (diff)
downloadmupdf-2fd7f11cfe4ebdc6d1035db521e61d15101ab36e.tar.xz
Move to using size_t for all mallocs.
This has knock on effects in the store. fix
Diffstat (limited to 'include/mupdf/fitz/glyph.h')
-rw-r--r--include/mupdf/fitz/glyph.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mupdf/fitz/glyph.h b/include/mupdf/fitz/glyph.h
index 1839ed6a..a4b985b5 100644
--- a/include/mupdf/fitz/glyph.h
+++ b/include/mupdf/fitz/glyph.h
@@ -122,11 +122,11 @@ struct fz_glyph_s
unsigned char data[1];
};
-static unsigned int fz_glyph_size(fz_context *ctx, fz_glyph *glyph);
+static size_t fz_glyph_size(fz_context *ctx, fz_glyph *glyph);
fz_irect *fz_glyph_bbox_no_ctx(fz_glyph *src, fz_irect *bbox);
-static inline unsigned int
+static inline size_t
fz_glyph_size(fz_context *ctx, fz_glyph *glyph)
{
if (glyph == NULL)