Skip to content

Conversation

@ayakael
Copy link
Contributor

@ayakael ayakael commented Feb 25, 2023

Adds missing cast to int when HAVE_IOCTL_WITH_INT_REQUEST

Related to #82173

Per @am11:

On some Unix-likes, such as linux with musl-libc and illumos, the second argument of ioctl is
int request instead of unsigned long request.

/cc: @Sapana-Khemkar

@ghost ghost added the community-contribution Indicates that the PR has been added by a community member label Feb 25, 2023
@ayakael ayakael changed the title pal_console.c: cast TIOCSWINSZ to int when HAVE_IOCTL_WITH_INT_REQUEST pal_console.c: cast TIOCSWINSZ to int when HAVE_IOCTL_WITH_INT_REQUEST Feb 25, 2023
@stephentoub stephentoub merged commit fb13c2c into dotnet:main Feb 27, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Mar 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants