aboutsummaryrefslogtreecommitdiff
path: root/lundump.c
diff options
context:
space:
mode:
Diffstat (limited to 'lundump.c')
-rw-r--r--lundump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lundump.c b/lundump.c
index f1852c35..e8d92a85 100644
--- a/lundump.c
+++ b/lundump.c
@@ -81,7 +81,7 @@ static size_t loadUnsigned (LoadState *S, size_t limit) {
81 81
82 82
83static size_t loadSize (LoadState *S) { 83static size_t loadSize (LoadState *S) {
84 return loadUnsigned(S, ~(size_t)0); 84 return loadUnsigned(S, MAX_SIZET);
85} 85}
86 86
87 87