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 100521a9..45708f96 100644
--- a/lundump.c
+++ b/lundump.c
@@ -108,7 +108,7 @@ static size_t loadUnsigned (LoadState *S, size_t limit) {
108 108
109 109
110static size_t loadSize (LoadState *S) { 110static size_t loadSize (LoadState *S) {
111 return loadUnsigned(S, ~(size_t)0); 111 return loadUnsigned(S, MAX_SIZET);
112} 112}
113 113
114 114