diff options
author | Robin Watts <robin.watts@artifex.com> | 2011-12-15 18:39:05 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2011-12-15 18:39:05 +0000 |
commit | 3031a2480fe775df825de6674495d01ae2607d93 (patch) | |
tree | 27f6c74c83f4e5b691808963ec2e9e2d6d9e0fba /fitz/res_store.c | |
parent | 0519485956749c2c84fd91e067f0b6cabd026ad7 (diff) | |
download | mupdf-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 'fitz/res_store.c')
-rw-r--r-- | fitz/res_store.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/res_store.c b/fitz/res_store.c index 6c1c628d..0b303982 100644 --- a/fitz/res_store.c +++ b/fitz/res_store.c @@ -410,7 +410,7 @@ int fz_store_scavenge(fz_context *ctx, unsigned int size, int *phase) max = store->max / 16 * (16 - *phase); else max = store->size / (16 - *phase) * (15 - *phase); - *phase++; + (*phase)++; if (size + store->size > max) if (scavenge(ctx, size + store->size - max)) |