diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-06-08 12:42:57 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-06-08 13:53:56 +0100 |
commit | 2fd7f11cfe4ebdc6d1035db521e61d15101ab36e (patch) | |
tree | cf18d3cc3ab606b4f22684ef4ea2ea3f06d41602 /source/fitz/harfbuzz.c | |
parent | fea0f8467f983cc5c1075d19787a4b398d0d5e22 (diff) | |
download | mupdf-2fd7f11cfe4ebdc6d1035db521e61d15101ab36e.tar.xz |
Move to using size_t for all mallocs.
This has knock on effects in the store.
fix
Diffstat (limited to 'source/fitz/harfbuzz.c')
-rw-r--r-- | source/fitz/harfbuzz.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/fitz/harfbuzz.c b/source/fitz/harfbuzz.c index 30b82c5d..0200c887 100644 --- a/source/fitz/harfbuzz.c +++ b/source/fitz/harfbuzz.c @@ -95,7 +95,7 @@ void *hb_malloc(size_t size) assert(ctx != NULL); - return fz_malloc_no_throw(ctx, (unsigned int)size); + return fz_malloc_no_throw(ctx, size); } void *hb_calloc(size_t n, size_t size) @@ -104,7 +104,7 @@ void *hb_calloc(size_t n, size_t size) assert(ctx != NULL); - return fz_calloc_no_throw(ctx, (unsigned int)n, (unsigned int)size); + return fz_calloc_no_throw(ctx, n, size); } void *hb_realloc(void *ptr, size_t size) @@ -113,7 +113,7 @@ void *hb_realloc(void *ptr, size_t size) assert(ctx != NULL); - return fz_resize_array_no_throw(ctx, ptr, (unsigned int)1, (unsigned int)size); + return fz_resize_array_no_throw(ctx, ptr, 1, size); } void hb_free(void *ptr) |