fix some compiler warnings
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user