aboutsummaryrefslogtreecommitdiff
path: root/src/pklib/implode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pklib/implode.c')
-rw-r--r--src/pklib/implode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pklib/implode.c b/src/pklib/implode.c
index 10b127a..28b144c 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