diff --git a/src/QRSpectrum.cpp b/src/QRSpectrum.cpp index bd181815..143957f9 100644 --- a/src/QRSpectrum.cpp +++ b/src/QRSpectrum.cpp @@ -998,9 +998,9 @@ vector encode_stream_vbyte( const vector &input ) static_assert( 0, "This function not tested in big-endian" ); #endif #elif defined(__GNUC__) || defined(__GNUG__) - static_assert(__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__, "This function not tested in big-endian" ); + static_assert(__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__, "This function not tested in big-endian" ); #elif defined(_MSC_VER) - // not sure, but not to worried + // not sure, but not too worried #endif static_assert( boost::endian::order::native == boost::endian::order::little, "This function not tested in big-endian" ); @@ -1082,7 +1082,7 @@ size_t decode_stream_vbyte( const T * const input_begin, const size_t nbytes, ve static_assert( 0, "This function not tested in big-endian" ); #endif #elif defined(__GNUC__) || defined(__GNUG__) - static_assert(__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__, "This function not tested in big-endian" ); + static_assert(__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__, "This function not tested in big-endian" ); #elif defined(_MSC_VER) // not sure, but not to worried #endif