Skip to content
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

Fix potential conversion errors #384

Merged
merged 1 commit into from
Apr 16, 2024
Merged

Conversation

chqrlie
Copy link
Collaborator

@chqrlie chqrlie commented Apr 16, 2024

  • fix undefined behavior in double to int conversions
  • do not pass an int64_t to js_bool()

- fix undefined behavior in double to int conversions
- do not pass an `int64_t` to `js_bool()`
@chqrlie chqrlie merged commit 43dc65d into quickjs-ng:master Apr 16, 2024
47 checks passed
@chqrlie chqrlie deleted the fix-ub branch April 16, 2024 21:18
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