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 +- thirdparty/mujs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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) { diff --git a/thirdparty/mujs b/thirdparty/mujs index c90c3232..1930f359 160000 --- a/thirdparty/mujs +++ b/thirdparty/mujs @@ -1 +1 @@ -Subproject commit c90c32326ed81e93bbb0474d947bd7f1880f50f9 +Subproject commit 1930f35933654d02234249b8c9b8c0d1c8c9fb6b -- cgit v1.2.3