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 a few different signedness warnings #22

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Conversation

spoonincode
Copy link
Member

fix a few warning: comparison of integer expressions of different signedness

@@ -529,7 +529,7 @@ void TestExp() {
"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001",
};

for (int i = 0; i < sizeof(testVectorInput)/sizeof(const char*); ++ i) {
for (size_t i = 0; i < sizeof(testVectorInput)/sizeof(const char*); ++ i) {
Copy link
Contributor

Choose a reason for hiding this comment

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

++ i looks funny, but whatever.

@spoonincode spoonincode merged commit e159d6e into main Jan 8, 2024
9 checks passed
@spoonincode spoonincode deleted the signness_warnfix branch January 8, 2024 16:34
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.

3 participants