Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hardcoded assumption to run on little endian #123

Open
mirabilos opened this issue Sep 2, 2020 · 0 comments
Open

hardcoded assumption to run on little endian #123

mirabilos opened this issue Sep 2, 2020 · 0 comments

Comments

@mirabilos
Copy link
Contributor

sources/core/output/sf2/outputsf2.cpp line 326, for example:

  324     /////////////////////////////////////// BLOC INFO ///////////////////////////////////////
  325     fi.write("LIST", 4);
  326     fi.write((char *)&taille_info, 4);
  327     fi.write("INFO", 4);

(Also, WHY IS THAT FRENCH?!?!?!)

This completely breaks using this on big endian platforms (let alone PDP but pray we’re not going there).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant