Skip to content

Commit 8904b91

Browse files
rolandreichweinbmwjwellbelove
authored andcommitted
Fix arm64 signed char (#1006)
1 parent a563aed commit 8904b91

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

test/test_bit_stream.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,4 +1075,4 @@ namespace
10751075
};
10761076
}
10771077

1078-
#include "etl/private/diagnostic_pop.h"
1078+
#include "etl/private/diagnostic_pop.h"

test/test_bit_stream_reader_little_endian.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ namespace
215215
TEST(test_read_int8_t)
216216
{
217217
std::array<char, 4U> storage = { char(0x80), char(0x5A), char(0xA5), char(0xFF) };
218-
std::array<char, 4U> expected = { int8_t(0x01), int8_t(0x5A), int8_t(0xA5), int8_t(0xFF) };
218+
std::array<signed char, 4U> expected = { int8_t(0x01), int8_t(0x5A), int8_t(0xA5), int8_t(0xFF) };
219219

220220
etl::bit_stream_reader bit_stream(storage.data(), storage.size(), etl::endian::little);
221221

test/test_correlation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ namespace
8686
//*************************************************************************
8787
TEST(test_char_correlation_default_constructor)
8888
{
89-
etl::correlation<etl::correlation_type::Population, char, int32_t> correlation;
89+
etl::correlation<etl::correlation_type::Population, signed char, int32_t> correlation;
9090

9191
double correlation_result = correlation;
9292

test/test_covariance.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ namespace
8686
//*************************************************************************
8787
TEST(test_char_covariance_default_constructor)
8888
{
89-
etl::covariance<etl::covariance_type::Population, char, int32_t> covariance;
89+
etl::covariance<etl::covariance_type::Population, signed char, int32_t> covariance;
9090

9191
double covariance_result = covariance;
9292

0 commit comments

Comments
 (0)