Fixes int needing to be the same width as int* for armv7l also #71
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
With HEAD, I kept always error about usage when I tried the commands in README.md. The input filename wasn't being read in correctly.
This is slightly sloppy since stdint.h isn't being explicitly included. :) I didn't pull it in explicitly to avoid any possible future issues with self-compiling.
I tested this on Debian Linux on: ARM 32-bit armv7l, ARM 64-bit aarch64, and x86_64.
With the patch:
Verified that this works on x86_64 [WSL]:
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Linux DESKTOP 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
and 64-bit Debian on ARM:
gcc (Debian 10.2.1-6) 10.2.1 20210110
Linux lepotato 5.10.102-meson64 #22.02.1 SMP PREEMPT Sun Feb 27 09:09:25 UTC 2022 aarch64 GNU/Linux