Skip to content

Conversation

frerejerome
Copy link
Contributor

@frerejerome frerejerome commented Jun 3, 2024

This avoids the two GCC -Wconversion warnings for this public header, which is useful when using extensive error reporting from the compiler and treating warnings as errors.
Bellard's version uses such a casting in the first function, so I assume that there is no obvious performance penalty in being verbose.

This avoids the two GCC -Wconversion warnings in this public header, which is useful when using extensive error reporting from the compiler, and treating warnings as errors.
@saghul saghul merged commit c7bd411 into quickjs-ng:master Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants