We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6326781 commit 19986c6Copy full SHA for 19986c6
Core/CoreWin32.cpp
@@ -548,7 +548,7 @@ enum { CRT_FILE_SIZE = (sizeof(char*)*3 + sizeof(int)*5) };
548
549
extern "C" FILE* __cdecl __acrt_iob_func(unsigned Index)
550
{
551
- return (FILE*)((char*)__iob_func() + Index * CRT_FILE_SIZE);
+ return (FILE*)((char*)__iob_func() + Index * Align(CRT_FILE_SIZE, sizeof(char*)));
552
}
553
554
#endif // OLDCRT
0 commit comments