Merge branch 'main' into dev

This commit is contained in:
MihailRis
2025-10-14 21:53:40 +03:00
7 changed files with 47 additions and 37 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ static int l_unpack(lua::State* L) {
for (size_t i = 0; format[i]; i++) {
switch (format[i]) {
case 'b':
lua::pushinteger(L, reader.get());
lua::pushinteger(L, static_cast<int8_t>(reader.get()));
break;
case 'B':
lua::pushinteger(L, reader.get() & 0xFF);