Skip to content

Fix Linux Build (#9) #13

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix Linux Build (#9) #13

wants to merge 1 commit into from

Conversation

jmortiger
Copy link

Fixes #9

Changes s32 & u32 to be typed as signed int & unsigned int instead of signed long int & unsigned long int, as this resolves to 64 bits on x64 Linux & 32 bits on Windows, while signed int & unsigned int resolve to 32 bits on Windows & x64 Linux.

This change has been tested to work on Windows & x64 Linux.

Changes `s32` & `u32` to be typed as `signed int` & `unsigned int` instead of  `signed long int` & `unsigned long int`, as this resolves to 64 bits on x64 Linux & 32 bits on Windows, while `signed int` & `unsigned int` resolve to 32 bits on Windows & x64 Linux.
@jmortiger jmortiger closed this Apr 25, 2025
@jmortiger jmortiger deleted the patch-2 branch April 25, 2025 15:08
@jmortiger jmortiger restored the patch-2 branch April 25, 2025 15:12
@jmortiger jmortiger reopened this Apr 25, 2025
@jmortiger
Copy link
Author

Sorry, I renamed the branch; didn't think that would happen

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

Successfully merging this pull request may close these issues.

[Linux, VS Code] Fails to read ITD_RESS.PAK; pakInfo.compressionFlag out of bounds
1 participant