summaryrefslogtreecommitdiff
path: root/source/fitz/harfbuzz.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/harfbuzz.c')
-rw-r--r--source/fitz/harfbuzz.c6
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)