From 2fd7f11cfe4ebdc6d1035db521e61d15101ab36e Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Wed, 8 Jun 2016 12:42:57 +0100 Subject: Move to using size_t for all mallocs. This has knock on effects in the store. fix --- scripts/cmapdump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/cmapdump.c b/scripts/cmapdump.c index 6467739b..2f3493d7 100644 --- a/scripts/cmapdump.c +++ b/scripts/cmapdump.c @@ -245,7 +245,7 @@ void fz_drop_storable(fz_context *ctx, const fz_storable *sc) s->drop(ctx, s); } -void fz_new_store_context(fz_context *ctx, unsigned int max) +void fz_new_store_context(fz_context *ctx, size_t max) { } @@ -258,7 +258,7 @@ fz_store *fz_keep_store_context(fz_context *ctx) return NULL; } -int fz_store_scavenge(fz_context *ctx, unsigned int size, int *phase) +int fz_store_scavenge(fz_context *ctx, size_t size, int *phase) { return 0; } -- cgit v1.2.3