Skip to content

Fix internal datatype usage and warnings - #573

Merged
bradh352 merged 15 commits into
c-ares:mainfrom
bradh352:size_t
Oct 15, 2023
Merged

bradh352 merged 15 commits into
c-ares:mainfrom
bradh352:size_t

Conversation

@bradh352

Copy link
Copy Markdown
Member

PR #568 increased the warning levels and c-ares code emitted a bunch of warnings. This PR fixes those warnings and starts transitioning internal data types into more proper forms (e.g. data lengths should be size_t not int). It does, however, have to manually cast back to what the public API needs due to API and ABI compliance (we aren't looking to break integrations, just clean up internals).

Fix By: Brad House (@bradh352)

@bradh352
bradh352 requested a review from bagder October 13, 2023 17:10
@bradh352

Copy link
Copy Markdown
Member Author

i think i've got a vast majority of the data type usages now

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