diff options
Diffstat (limited to 'Userland/Libraries/LibC/stdio.cpp')
-rw-r--r-- | Userland/Libraries/LibC/stdio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibC/stdio.cpp b/Userland/Libraries/LibC/stdio.cpp index b33e308141..ae3371df01 100644 --- a/Userland/Libraries/LibC/stdio.cpp +++ b/Userland/Libraries/LibC/stdio.cpp @@ -614,7 +614,7 @@ private: extern "C" { -static u8 default_streams[3][sizeof(FILE)]; +alignas(FILE) static u8 default_streams[3][sizeof(FILE)]; FILE* stdin = reinterpret_cast<FILE*>(&default_streams[0]); FILE* stdout = reinterpret_cast<FILE*>(&default_streams[1]); FILE* stderr = reinterpret_cast<FILE*>(&default_streams[2]); |