diff options
author | Juan J. Martinez <jjm@usebox.net> | 2021-09-08 16:17:29 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2021-09-08 16:17:29 +0100 |
commit | d46a448e9d44f62cb49ae917c69d8a2415e08a9e (patch) | |
tree | 14a87ad2774c04e372a08a1927b98b4a9b96625d /tools/apultra/src/expand.c | |
parent | 2e8b3d6c5f4f18fb3f84fabd5d4381e55610e519 (diff) | |
download | ubox-msx-lib-d46a448e9d44f62cb49ae917c69d8a2415e08a9e.tar.gz ubox-msx-lib-d46a448e9d44f62cb49ae917c69d8a2415e08a9e.zip |
Updated apultra to version 1.4.2
Diffstat (limited to 'tools/apultra/src/expand.c')
-rw-r--r-- | tools/apultra/src/expand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/apultra/src/expand.c b/tools/apultra/src/expand.c index 76b3bf1..b65409d 100644 --- a/tools/apultra/src/expand.c +++ b/tools/apultra/src/expand.c @@ -97,7 +97,7 @@ size_t apultra_get_max_decompressed_size(const unsigned char *pInputData, size_t nDecompressedSize++;
while (1) {
- unsigned int nResult;
+ int nResult;
nResult = apultra_read_bit(&pInputData, pInputDataEnd, &nCurBitMask, &bits);
if (nResult < 0) return -1;
@@ -222,7 +222,7 @@ size_t apultra_decompress(const unsigned char *pInputData, unsigned char *pOutDa *pCurOutData++ = *pInputData++;
while (1) {
- unsigned int nResult;
+ int nResult;
nResult = apultra_read_bit(&pInputData, pInputDataEnd, &nCurBitMask, &bits);
if (nResult < 0) return -1;
|