Skip to content

Commit

Permalink
Merge branch 'fix-gcc-arm64-unsigned-chars' into 'develop'
Browse files Browse the repository at this point in the history
Fix GCC complaining about -1 not being a valid char on arm64 (Linux)

See merge request devel/gdx!72
  • Loading branch information
0x17 committed Sep 18, 2024
2 parents ae349d2 + 26bf72b commit d9a894b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gdlib/gmsstrm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ constexpr uint8_t signature_header = 0xFF;
const std::string signature_gams = "*GAMS*"s;
constexpr int verify_offset = 100;

constexpr static char substChar {/*0x1A*/ std::char_traits<char>::eof()};
constexpr static char substChar { std::numeric_limits<char>::is_signed ? std::char_traits<char>::eof() : 0x1A };

union TDoubleVar
{
Expand Down

0 comments on commit d9a894b

Please sign in to comment.