aboutsummaryrefslogtreecommitdiff
path: root/lundump.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-11-07 17:25:46 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-11-07 17:25:46 -0300
commit9e99f3071d07767f9e882c4abf3537f75ce2d161 (patch)
treea547cbf1772bae35b9c0d842799db0dbf2d27012 /lundump.c
parent14e416355f83cf0a1b871eedec2c92b86dbe76d6 (diff)
parent7923dbbf72da303ca1cca17efd24725668992f15 (diff)
downloadlua-9e99f3071d07767f9e882c4abf3537f75ce2d161.tar.gz
lua-9e99f3071d07767f9e882c4abf3537f75ce2d161.tar.bz2
lua-9e99f3071d07767f9e882c4abf3537f75ce2d161.zip
Merge branch 'master' into nextversion
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