Closed marcan closed 3 years ago
This fixes the option parser on architectures with an unsigned 'char', where scalpel previously just silently exited, as -1 becomes 255.
Bump: I have made exactly the same patch on my system, finding out that this one has not been merged yet.
Disclaimer: I didn't test this. But, it looks reasonable.
This fixes the option parser on architectures with an unsigned 'char', where scalpel previously just silently exited, as -1 becomes 255.