aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/index.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/liblzma/common/index.h')
-rw-r--r--src/liblzma/common/index.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/common/index.h b/src/liblzma/common/index.h
index 031efcc7..7b27d700 100644
--- a/src/liblzma/common/index.h
+++ b/src/liblzma/common/index.h
@@ -46,7 +46,7 @@ extern void lzma_index_prealloc(lzma_index *i, lzma_vli records);
static inline lzma_vli
vli_ceil4(lzma_vli vli)
{
- assert(vli <= LZMA_VLI_MAX);
+ assert(vli <= UNPADDED_SIZE_MAX);
return (vli + 3) & ~LZMA_VLI_C(3);
}