diff --git a/src/alignment.h b/src/alignment.h index 668208f8..532ef3a5 100644 --- a/src/alignment.h +++ b/src/alignment.h @@ -101,6 +101,7 @@ namespace etl //*************************************************************************** /// Aligned storage + /// LENGTH should be determined in terms of sizeof() ///\ingroup alignment //*************************************************************************** template @@ -174,7 +175,7 @@ namespace etl union { - uint_least8_t data[LENGTH]; + char data[LENGTH]; typename etl::type_with_alignment::type __etl_alignment_type__; // A POD type that has the same alignment as ALIGNMENT. }; };