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

cgo/process_utils: fix 32bit builds #1398

Merged
merged 1 commit into from
Nov 19, 2024
Merged

cgo/process_utils: fix 32bit builds #1398

merged 1 commit into from
Nov 19, 2024

Conversation

brauner
Copy link
Member

@brauner brauner commented Nov 19, 2024

New clang-14 reports errors for directly casting from an integer to a pointer. Use uintptr_t to fix that problem and adhere to the casting rules.

Fixes: #1395

@brauner brauner changed the title cgp/process_utils: fix 32bit builds cgo/process_utils: fix 32bit builds Nov 19, 2024
New clang-14 reports errors for directly casting from an integer to a
pointer. Use uintptr_t to fix that problem and adhere to the casting
rules.

Fixes: lxc#1395
Signed-off-by: Christian Brauner <[email protected]>
@stgraber stgraber merged commit b5264de into lxc:main Nov 19, 2024
30 checks passed
@stgraber
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

incus 6.7 fails to (cross)compile on 32bit archs
2 participants