Skip to content

krb5: fix -Wcast-align - #14433

Closed
vszakats wants to merge 2 commits into
curl:masterfrom
vszakats:krb-fix
Closed

vszakats wants to merge 2 commits into
curl:masterfrom
vszakats:krb-fix

Conversation

@vszakats

@vszakats vszakats commented Aug 7, 2024 •

Copy link
Copy Markdown
Member
lib/krb5.c:343:39: warning: cast from 'void **' to 'unsigned char **' increases required alignment from 2 to 8 [-Wcast-align]
                               (unsigned char **)&_gssresp.value,
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Seen on macOS Intel with Apple clang and brew heimdal 7.8.0_1.

Closes #14433

```
lib/krb5.c:343:39: warning: cast from 'void **' to 'unsigned char **' increases required alignment from 2 to 8 [-Wcast-align]
                               (unsigned char **)&_gssresp.value,
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
Seen on macOS x86_64 with Apple clang 14 and brew heimdal 7.8.0_1.

Closes #xxxxx
@vszakats vszakats closed this in 2154f7c Aug 7, 2024
@vszakats
vszakats deleted the krb-fix branch August 7, 2024 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants