spelling: overflow

This commit is contained in:
Josh Soref 2021-11-04 00:35:30 -04:00
parent f87fc7a293
commit de67c31b7d

View file

@ -313,7 +313,7 @@ static size_t getnextbuffersize(lua_State* L, size_t currentsize, size_t desired
{
size_t newsize = currentsize + currentsize / 2;
// check for size oveflow
// check for size overflow
if (SIZE_MAX - desiredsize < currentsize)
luaL_error(L, "buffer too large");