summaryrefslogtreecommitdiff
path: root/apps/x11_main.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2011-12-15 18:39:05 +0000
committerRobin Watts <robin.watts@artifex.com>2011-12-15 18:39:05 +0000
commit3031a2480fe775df825de6674495d01ae2607d93 (patch)
tree27f6c74c83f4e5b691808963ec2e9e2d6d9e0fba /apps/x11_main.c
parent0519485956749c2c84fd91e067f0b6cabd026ad7 (diff)
downloadmupdf-3031a2480fe775df825de6674495d01ae2607d93.tar.xz
Fix warnings/errors on unix builds.
Fix warnings/errors thrown up by the last few commits (which were only tested on windows).
Diffstat (limited to 'apps/x11_main.c')
-rw-r--r--apps/x11_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/x11_main.c b/apps/x11_main.c
index 23649a57..1020350f 100644
--- a/apps/x11_main.c
+++ b/apps/x11_main.c
@@ -587,7 +587,7 @@ int main(int argc, char **argv)
struct timeval tmo;
struct timeval *timeout;
- ctx = fz_new_context(&fz_alloc_default);
+ ctx = fz_new_context(&fz_alloc_default, 256<<20);
if (!ctx)
{
fprintf(stderr, "cannot initialise context\n");