diff options
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/lua_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c index 0057dc472..461130157 100644 --- a/src/lua/lua_util.c +++ b/src/lua/lua_util.c @@ -2211,7 +2211,7 @@ lua_util_zstd_decompress (lua_State *L) if (zin.pos < zin.size && zout.pos == zout.size) { /* We need to extend output buffer */ - zout.size = zout.size * 1.5 + 1.0; + zout.size = zout.size * 2; out = g_realloc (zout.dst, zout.size); zout.dst = out; } |