8000 Appease -Wall warnings by tsutsui · Pull Request #80 · taka-tuos/nanotodon · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Appease -Wall warnings #80

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

Merged
merged 2 commits into from
Dec 5, 2024
Merged

Conversation

tsutsui
Copy link
Contributor
@tsutsui tsutsui commented Dec 5, 2024

FreeBSD と OpenBSD の CI結果見てたら警告出てたので適当に修正しました。
crc32b() のほうはつい気になって const 付加と exact int type を使う修正も入れてます。 (NetBSD盆栽病)

CRC32 を1ビットずつ計算すると遅マシンだと結構重いのでテーブルにしたほうが、
みたいな気もしますが、呼ばれる回数的に https 認証と比べたら大したこと誤差以下かも。

Also use C99 exact width integer types, and add explicit const
to unmodified variables.
@taka-tuos taka-tuos merged commit 46d2bcf into taka-tuos:master Dec 5, 2024
12 checks passed
@tsutsui tsutsui deleted the appease-Wall-warnings branch December 25, 2024 20:55
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
0