diff options
| author | gingerBill <bill@gingerbill.org> | 2018-02-25 20:46:32 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-02-25 20:46:32 +0000 |
| commit | f23bd2dc275db2f424925d0526ac2c1fff64e199 (patch) | |
| tree | b8d9d15740cc2f8e11e56517663c4c1c4de99ee0 /src/build_settings.cpp | |
| parent | 69062ba3ab6b2ac2d291c3e4b6931c1c0dd2b6ac (diff) | |
Revert demo
Diffstat (limited to 'src/build_settings.cpp')
| -rw-r--r-- | src/build_settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp index 0b2e28af2..3b4fcc9d8 100644 --- a/src/build_settings.cpp +++ b/src/build_settings.cpp @@ -345,7 +345,7 @@ void init_build_context(void) { { u16 x = 1; - bool big = !bit_cast<u8>(x); + bool big = !*cast(u8 *)&x; bc->ODIN_ENDIAN = big ? str_lit("big") : str_lit("little"); } |