diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/pdf/js/pdf-js.c | 2 | ||||
-rw-r--r-- | source/tools/murun.c | 2 |
2 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) { |