summaryrefslogtreecommitdiff
path: root/source/tools/murun.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-09-09 19:51:31 +0100
committerRobin Watts <robin.watts@artifex.com>2016-09-09 19:52:18 +0100
commit85f03730a3ff376114580d9c1f35b95a45ad3705 (patch)
tree481225e49a3fd5dcd25f892d406958d9beb6871b /source/tools/murun.c
parent2e6ccc6c9d310c35b644b808353129e8ae318eb7 (diff)
downloadmupdf-85f03730a3ff376114580d9c1f35b95a45ad3705.tar.xz
Fix incorrect type usage.
MSVC is obviously more picky than linux in some cases.
Diffstat (limited to 'source/tools/murun.c')
-rw-r--r--source/tools/murun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/tools/murun.c b/source/tools/murun.c
index 3843ea1f..3ed0228f 100644
--- a/source/tools/murun.c
+++ b/source/tools/murun.c
@@ -1627,7 +1627,7 @@ static void ffi_Page_toStructuredText(js_State *J)
{
fz_context *ctx = js_getcontext(J);
fz_page *page = js_touserdata(J, 0, "fz_page");
- const char *options = js_tointeger(J, 1);
+ int options = js_tointeger(J, 1);
fz_stext_sheet *sheet = NULL;
fz_stext_page *text;
@@ -2459,7 +2459,7 @@ static void ffi_DisplayList_toStructuredText(js_State *J)
{
fz_context *ctx = js_getcontext(J);
fz_display_list *list = js_touserdata(J, 0, "fz_display_list");
- const char *options = js_tointeger(J, 1);
+ int options = js_tointeger(J, 1);
fz_stext_sheet *sheet = NULL;
fz_stext_page *text;