Skip to content

lib: fix some type mismatches and remove unneeded typecasts#9835

Closed
jay wants to merge 3 commits intocurl:masterfrom
jay:pr_9823_modified
Closed

lib: fix some type mismatches and remove unneeded typecasts#9835
jay wants to merge 3 commits intocurl:masterfrom
jay:pr_9823_modified

Conversation

@jay
Copy link
Member

@jay jay commented Oct 31, 2022

Many of these castings are unneeded if we change the variables to work better with each other.

Ref: #9823

Closes #xxxx


This is a subset of the changes submitted by @AtariDreams in #9823.

Many of these castings are unneeded if we change the variables to work
better with each other.

Ref: curl#9823

Closes #xxxx
@jay jay force-pushed the pr_9823_modified branch from 282cc4d to a314670 Compare October 31, 2022 06:47
authmask &= (unsigned long)~CURLAUTH_BEARER;

if(100 <= data->req.httpcode && 199 >= data->req.httpcode)
if(100 <= data->req.httpcode && data->req.httpcode <= 199)
Copy link
Member

Choose a reason for hiding this comment

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

Not sure what this is supposed to fix. The rest looks good to me!

Copy link
Member Author

Choose a reason for hiding this comment

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

This one isn't supposed to fix anything it's just a style change.

@jay jay closed this in f151ec6 Nov 8, 2022
@jay jay deleted the pr_9823_modified branch November 8, 2022 08:18
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.

4 participants