Skip to content

Conversation

@bnoordhuis
Copy link
Contributor

Unbreaks the Cygwin build.

*/

/* 2 <= base <= 36 */
char const digits36[36] = "0123456789abcdefghijklmnopqrstuvwxyz";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compiler is right to complain because sizeof("0123456789abcdefghijklmnopqrstuvwxyz") is 37, not 36.

@bnoordhuis bnoordhuis merged commit 6e43400 into quickjs-ng:master Jan 5, 2025
59 checks passed
@bnoordhuis bnoordhuis deleted the fix-compiler-warning branch January 5, 2025 20:47
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.

1 participant