summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/file_zip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_zip.c b/src/file_zip.c
index 11f2cc9..417bd3d 100644
--- a/src/file_zip.c
+++ b/src/file_zip.c
@@ -465,7 +465,7 @@ static int zip_parse_file_entry(file_recovery_t *fr, const char **ext, const uns
#ifdef DEBUG_ZIP
log_trace("Searched footer, got length %lli\n", (long long int)pos);
#endif
- if (pos < 0 || pos > 0x7fffffffffffffff)
+ if (pos < 0)
return -1;
if (pos > 0)
{