From 5660bef06a7cde2500657c2d3de4bad986ff1c6c Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 27 Apr 2016 17:23:13 +0200 Subject: Update MuJS. --- source/pdf/js/pdf-js.c | 2 +- source/tools/murun.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/pdf/js/pdf-js.c b/source/pdf/js/pdf-js.c index 5a885c75..57a0191b 100644 --- a/source/pdf/js/pdf-js.c +++ b/source/pdf/js/pdf-js.c @@ -579,7 +579,7 @@ void pdf_drop_js(fz_context *ctx, pdf_js *js) } } -static void *pdf_js_alloc(void *actx, void *ptr, unsigned int n) +static void *pdf_js_alloc(void *actx, void *ptr, int n) { fz_context *ctx = actx; if (n == 0) { diff --git a/source/tools/murun.c b/source/tools/murun.c index 6e6e2719..6d9881a2 100644 --- a/source/tools/murun.c +++ b/source/tools/murun.c @@ -11,7 +11,7 @@ FZ_NORETURN static void rethrow(js_State *J) js_throw(J); } -static void *alloc(void *actx, void *ptr, unsigned int n) +static void *alloc(void *actx, void *ptr, int n) { fz_context *ctx = actx; if (n == 0) { -- cgit v1.2.3