Skip to content

Fix unary minus on unsigned type warning#525

Merged
tompng merged 2 commits intoruby:masterfrom
tompng:fix_warn
Apr 12, 2026
Merged

Fix unary minus on unsigned type warning#525
tompng merged 2 commits intoruby:masterfrom
tompng:fix_warn

Conversation

@tompng
Copy link
Copy Markdown
Member

@tompng tompng commented Apr 12, 2026

Fix unary minus operator applied to unsigned type, result still unsigned warning.
Fix some implicit conversion warning (if -Wsign-conversion is specified) in recently added div.h and ntt.h.

@tompng tompng changed the title Fix warn Fix unary minus on unsigned type warning Apr 12, 2026
@tompng tompng merged commit 6b51b99 into ruby:master Apr 12, 2026
84 checks passed
@tompng tompng deleted the fix_warn branch April 12, 2026 07:39
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