diff --git a/lib/base.h b/lib/base.h index 22d9a11..02663c2 100644 --- a/lib/base.h +++ b/lib/base.h @@ -99,7 +99,7 @@ typedef enum // Macro to determine little endian #ifndef LITTLE_ENDIAN -static const int __i = 1; +static const hword_t __i = 0xFFFF0000; #define LITTLE_ENDIAN ((*((byte_t *)&__i)) == 0) #endif