fix some compiler warnings

This commit is contained in:
2026-02-18 23:20:58 +03:00
committed by ALEXks
parent f5d2ecf549
commit 9dbbe9fcdc
4 changed files with 6 additions and 4 deletions

View File

@@ -569,8 +569,8 @@ void copyIncludes(const set<string> &allIncludeFiles, const map<string, map<int,
while (!feof(oldFile))
{
char buf[8192];
char *res = fgets(buf, 16384, oldFile);
char buf[16384];
char *res = fgets(buf, sizeof(buf), oldFile);
if (res == NULL)
break;