Skip to content

fix constness of field access through a pointer - #3339

Open
sergot wants to merge 1 commit into
zigtools:masterfrom
sergot:fix-field-pointer-constness
Open

sergot wants to merge 1 commit into
zigtools:masterfrom
sergot:fix-field-pointer-constness

Conversation

@sergot

@sergot sergot commented Nov 24, 2026

Copy link
Copy Markdown

Hi all, my first contribution here, feedback appreciated :)

Fixes #3328 , I encountered the same problem as the author of this issue, found a simple solution but not sure if it's the right way

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.

taking address of a field of a mutable pointer to a struct produces a constant pointer to the field

1 participant