aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLode Vandevenne <lvandeve@users.noreply.github.com>2021-06-14 17:17:05 +0200
committerGitHub <noreply@github.com>2021-06-14 17:17:05 +0200
commit831773bc28e318b91a3255fa12c9fcde1606058b (patch)
treed1a1b637245e12a07c3334202f76e677fa8ebad8
parent6673e39fba6122c948c9ec34f07166812d473eb6 (diff)
parent60503d108244382d8ab1d3b2a45ea8a5f915636c (diff)
downloadzopfli-831773bc28e318b91a3255fa12c9fcde1606058b.tar.gz
Merge pull request #180 from enh-google/master
Fix the i686-linux-android build.
-rw-r--r--src/zopfli/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zopfli/cache.c b/src/zopfli/cache.c
index f5559c3..6b9444f 100644
--- a/src/zopfli/cache.c
+++ b/src/zopfli/cache.c
@@ -34,7 +34,7 @@ void ZopfliInitCache(size_t blocksize, ZopfliLongestMatchCache* lmc) {
if(lmc->sublen == NULL) {
fprintf(stderr,
"Error: Out of memory. Tried allocating %lu bytes of memory.\n",
- ZOPFLI_CACHE_LENGTH * 3 * blocksize);
+ (unsigned long)ZOPFLI_CACHE_LENGTH * 3 * blocksize);
exit (EXIT_FAILURE);
}