Skip to content
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

Use c_int type for SO_SNDBUF (#355) #357

Merged
merged 1 commit into from
Aug 24, 2024
Merged

Conversation

awilfox
Copy link
Contributor

@awilfox awilfox commented Aug 24, 2024

This is defined by POSIX as an 'int'. Using a usize causes an invalid value to be read on 64-bit big endian platforms.

--

Passes tests on ppc64, x86_64, and i586 for me.

This is defined by POSIX as an 'int'.  Using a usize causes an invalid
value to be read on 64-bit big endian platforms.

Signed-off-by: A. Wilcox <[email protected]>
@jdm jdm enabled auto-merge August 24, 2024 15:39
@jdm jdm added this pull request to the merge queue Aug 24, 2024
Merged via the queue into servo:main with commit 862b0e2 Aug 24, 2024
19 checks passed
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