diff options
Diffstat (limited to 'include/lldb/Host/Endian.h')
-rw-r--r-- | include/lldb/Host/Endian.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lldb/Host/Endian.h b/include/lldb/Host/Endian.h index 610f3ce95c41..1ae3c40b5ca4 100644 --- a/include/lldb/Host/Endian.h +++ b/include/lldb/Host/Endian.h @@ -20,7 +20,7 @@ namespace endian { { uint32_t num; uint8_t bytes[sizeof(uint32_t)]; - } const endianTest = { (uint16_t)0x01020304 }; + } const endianTest = { 0x01020304 }; inline ByteOrder InlHostByteOrder() { return (ByteOrder)endianTest.bytes[0]; } |