aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/vli_size.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/liblzma/common/vli_size.c')
-rw-r--r--src/liblzma/common/vli_size.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/common/vli_size.c b/src/liblzma/common/vli_size.c
index 547bba0b..e87094d8 100644
--- a/src/liblzma/common/vli_size.c
+++ b/src/liblzma/common/vli_size.c
@@ -23,7 +23,7 @@
extern LZMA_API uint32_t
lzma_vli_size(lzma_vli vli)
{
- if (vli > LZMA_VLI_VALUE_MAX)
+ if (vli > LZMA_VLI_MAX)
return 0;
uint32_t i = 0;