aboutsummaryrefslogtreecommitdiff
path: root/dep/libmpq/FAQ
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2015-06-13 19:16:10 +0200
committerjackpoz <giacomopoz@gmail.com>2015-06-13 19:16:10 +0200
commit718c238524e5d9bc4d43c56c4870c78af794f520 (patch)
treeeb4430627ec37c67e5ec23f026fe63500ebdf526 /dep/libmpq/FAQ
parent0d66b1917e53b38f5a0b6ee44c59e76315405bd6 (diff)
Dep/libmpq: Update libmpq to https://github.com/mbroemme/libmpq/commit/d59b4cf1d107b5f6a0f67d6bc545c6c6ebef3d74
Update libmpq to https://github.com/mbroemme/libmpq/commit/d59b4cf1d107b5f6a0f67d6bc545c6c6ebef3d74 and add some custom change to fix additional build warnings, diff is included. Extracting dbcs, maps, vmaps and mmaps is not required.
Diffstat (limited to 'dep/libmpq/FAQ')
-rw-r--r--dep/libmpq/FAQ2
1 files changed, 1 insertions, 1 deletions
diff --git a/dep/libmpq/FAQ b/dep/libmpq/FAQ
index 52ca9f3c705..61cad93b6fc 100644
--- a/dep/libmpq/FAQ
+++ b/dep/libmpq/FAQ
@@ -57,7 +57,7 @@ A: Of course :) The example below takes first parameter as mpq archive
libmpq__archive_open(&mpq_archive, argv[1], -1);
/* get size of first file (0) and malloc output buffer. */
- libmpq__file_unpacked_size(mpq_archive, 0, &out_size);
+ libmpq__file_size_unpacked(mpq_archive, 0, &out_size);
out_buf = malloc(out_size);
/* read, decrypt and unpack file to output buffer. */