WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
259096
RemoteInspectorSocketWin.cpp: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 2 to 4
https://bugs.webkit.org/show_bug.cgi?id=259096
Summary
RemoteInspectorSocketWin.cpp: warning: cast from 'struct sockaddr *' to 'stru...
Fujii Hironori
Reported
2023-07-10 23:45:32 PDT
clang-cl reports the following warning for Windows port. [1177/6517] Building CXX object Source\JavaScriptCore\CMakeFiles\JavaScriptCore.dir\inspector\remote\socket\win\RemoteInspectorSocketWin.cpp.obj C:\home\webkit\gc\Source\JavaScriptCore\inspector\remote\socket\win\RemoteInspectorSocketWin.cpp(172,33): warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 2 to 4 [-Wcast-align] address.sin_addr = ((struct sockaddr_in*)(res->ai_addr))->sin_addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated.
Attachments
Add attachment
proposed patch, testcase, etc.
Fujii Hironori
Comment 1
2023-07-10 23:55:13 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/15728
EWS
Comment 2
2023-07-11 21:32:14 PDT
Committed
265984@main
(f43f814b129e): <
https://commits.webkit.org/265984@main
> Reviewed commits have been landed. Closing PR #15728 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2023-07-11 21:35:19 PDT
<
rdar://problem/112118935
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug