Summary: | Fix cast-align warnings in FastMalloc.cpp | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Csaba Osztrogonác <ossy> | ||||
Component: | New Bugs | Assignee: | Csaba Osztrogonác <ossy> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | benjamin, cmarcelo, commit-queue, mhahnenberg, msaboff, oliver, ossy | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Csaba Osztrogonác
2013-06-25 08:03:05 PDT
Could you check if they can be a valid warnings or can we suppress them with using reinterpret_cast_ptr instead of reinterpret_cast ? any idea? (In reply to comment #2) > any idea? I think this one is okay to change to reinterpret_cast_ptr too because all FastMalloc allocations are guaranteed to be at least 8 byte aligned. Created attachment 205919 [details]
Patch
(In reply to comment #3) > (In reply to comment #2) > > any idea? > > I think this one is okay to change to reinterpret_cast_ptr too because all FastMalloc allocations are guaranteed to be at least 8 byte aligned. Thanks, I attached the patch. Comment on attachment 205919 [details]
Patch
r=me
Comment on attachment 205919 [details] Patch Clearing flags on attachment: 205919 Committed r152349: <http://trac.webkit.org/changeset/152349> All reviewed patches have been landed. Closing bug. |