TokTok / c-toxcore

The future of online communications.
https://tox.chat
GNU General Public License v3.0
2.21k stars 280 forks source link

fix: save_compatibility_test failing on big-endian systems #2696

Closed nurupo closed 4 months ago

nurupo commented 4 months ago

save_compatibility_test was failing on big-endian systems, as it was written and tested on a little-endian system and savedata is not endianness portable[1].

[1] https://github.com/TokTok/c-toxcore/issues/2693


This change is Reviewable

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (86f5e55) 73.14% compared to head (9a8dfa0) 73.15%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2696 +/- ## ======================================= Coverage 73.14% 73.15% ======================================= Files 149 149 Lines 30517 30517 ======================================= + Hits 22322 22325 +3 + Misses 8195 8192 -3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.