We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
alloc.c:101:15: error: cast from 'char *' to 'struct smb2_alloc_header *' increases required alignment from 1 to 8 [-Werror,-Wcast-align] hdr = container_of(memctx, struct smb2_alloc_header, buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.c:58:9: note: expanded from macro 'container_of' (type *)( (char *)__mptr - offsetof(type,member) );}) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.c:126:15: error: cast from 'char *' to 'struct smb2_alloc_header *' increases required alignment from 1 to 8 [-Werror,-Wcast-align] hdr = container_of(ptr, struct smb2_alloc_header, buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.c:58:9: note: expanded from macro 'container_of' (type *)( (char *)__mptr - offsetof(type,member) );}) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated.
The text was updated successfully, but these errors were encountered:
Im experiencing the same issue on my armv7l linux, on arm64 it works fine
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: