diff options
author | Ladislav Zezula <zezula@volny.cz> | 2024-08-18 16:39:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-18 16:39:51 +0200 |
commit | cb80343e51f982d2f47ef83c56f02740b0763b29 (patch) | |
tree | 324e4aeafe917bd9cc281dfd074fd5b8568c6ae0 /src/pklib/implode.c | |
parent | 539a04e06578ce9b0cf005446eff66e18753076d (diff) | |
parent | 0b5d8c0989f67e7c863eb6491924e83927ec1107 (diff) |
Merge pull request #355 from pionere/shortint
use int instead of short in FindRep
Diffstat (limited to 'src/pklib/implode.c')
-rw-r--r-- | src/pklib/implode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pklib/implode.c b/src/pklib/implode.c index 96baf98..bcff7a8 100644 --- a/src/pklib/implode.c +++ b/src/pklib/implode.c @@ -159,7 +159,7 @@ static unsigned int FindRep(TCmpStruct * pWork, unsigned char * input_data) unsigned char * input_data_ptr; unsigned short phash_offs_index; // Index to the table with PAIR_HASH positions unsigned short min_phash_offs; // The lowest allowed hash offset - unsigned short offs_in_rep; // Offset within found repetition + unsigned int offs_in_rep; // Offset within found repetition unsigned int equal_byte_count; // Number of bytes that are equal to the previous occurence unsigned int rep_length = 1; // Length of the found repetition unsigned int rep_length2; // Secondary repetition |