Skip to content

Conversation

@creationix
Copy link

Apple compilers will complain about abs not doing anything if you leave these as unsigned.

This is a potential fix for #11

Apple compilers will complain about abs not doing anything if you leave these as unsigned.
@creationix
Copy link
Author

I don't know enough of internals to know if this fixes a bug or causes a bug. The tests pass with this change FWIW.

@creationix creationix changed the title Fix type casting in string position calculation Do difference calculation using signed integers in string position calculation Dec 24, 2025
@creationix creationix mentioned this pull request Dec 24, 2025
@bellard bellard closed this Dec 24, 2025
@bellard
Copy link
Owner

bellard commented Dec 24, 2025

fixed

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.

2 participants