Skip to content

Fix Linux Build (#9)#13

Open
jmortiger wants to merge 1 commit intoyaz0r:masterfrom
jmortiger:patch-2
Open

Fix Linux Build (#9)#13
jmortiger wants to merge 1 commit intoyaz0r:masterfrom
jmortiger:patch-2

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