summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-04-27 17:23:13 +0200
committerTor Andersson <tor.andersson@artifex.com>2016-05-13 11:42:00 +0200
commit5660bef06a7cde2500657c2d3de4bad986ff1c6c (patch)
tree0c260f7c7584a5a628fabd4613c1e4789690b915
parentc79c663a424151c9ffd6ca8b947f3cc605cd921f (diff)
downloadmupdf-5660bef06a7cde2500657c2d3de4bad986ff1c6c.tar.xz
Update MuJS.
-rw-r--r--source/pdf/js/pdf-js.c2
-rw-r--r--source/tools/murun.c2
m---------thirdparty/mujs0
3 files changed, 2 insertions, 2 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
-Subproject c90c32326ed81e93bbb0474d947bd7f1880f50f
+Subproject 1930f35933654d02234249b8c9b8c0d1c8c9fb6