update fdvm, fixed routine'

This commit is contained in:
ALEXks
2023-11-15 11:13:26 +03:00
parent 5b4071b237
commit 768a280f09
6 changed files with 11 additions and 5 deletions

View File

@@ -795,7 +795,9 @@ static void realocBuf(int minSize)
newSize = minSize + 1;
Buf_address = UnpBuf = realloc(UnpBuf, newSize);
//printf(" realloc buffer from %lld to %lld\n", max_lenght_buf, newSize);
memset(UnpBuf + max_lenght_buf, 0, newSize - max_lenght_buf);
//printf(" realloc buffer from %ld to %ld\n", max_lenght_buf, newSize);
max_lenght_buf = newSize;
}