summaryrefslogtreecommitdiff
path: root/scripts
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 /scripts
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 'scripts')
-rw-r--r--scripts/cmapdump.c4
1 files changed, 2 insertions, 2 deletions
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;
}