diff --git a/src/Text/Endian.cpp b/src/Text/Endian.cpp index ae8c500..75df4a1 100644 --- a/src/Text/Endian.cpp +++ b/src/Text/Endian.cpp @@ -4,7 +4,7 @@ namespace hgl { bool CheckSystemEndian() { - constexpr uint16 db=0xABCD; + constexpr const uint16 db=0xABCD; #if HGL_ENDIAN == HGL_BIG_ENDIAN return(*(uint8 *)&db==0xAB);