Skip to content

lib: use size_t or int etc instead of longs#10088

Closed
bagder wants to merge 3 commits intomasterfrom
bagder/x509-long
Closed

lib: use size_t or int etc instead of longs#10088
bagder wants to merge 3 commits intomasterfrom
bagder/x509-long

Conversation

@bagder
Copy link
Member

@bagder bagder commented Dec 13, 2022

Since long is not using a consistent data size in curl builds.

@bagder bagder added the tidy-up label Dec 13, 2022
@bagder
Copy link
Member Author

bagder commented Dec 13, 2022

I found more cases in other files, so this PR becomes a more generic "unsigned long" cleanup thing.

@bagder bagder changed the title x509asn1: use size_t or int instead of longs lib: use size_t or int etc instead of longs Dec 13, 2022
@bagder
Copy link
Member Author

bagder commented Dec 14, 2022

The fact that the CURLAUTH_* defines have unsigned long in them is pretty annoying now =)

@bagder bagder closed this in 57d2d9b Dec 14, 2022
@bagder bagder deleted the bagder/x509-long branch December 14, 2022 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants