Bug 80420 - [BlackBerry] Fix cast-align gcc warnings when compiling JSC
Summary: [BlackBerry] Fix cast-align gcc warnings when compiling JSC
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Rob Buis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-06 07:38 PST by Rob Buis
Modified: 2012-03-06 12:52 PST (History)
1 user (show)

See Also:


Attachments
Patch (2.23 KB, patch)
2012-03-06 07:41 PST, Rob Buis
barraclough: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Buis 2012-03-06 07:38:11 PST
Seeing this in my build:

/home/rbuis/work/playbook/webkit_master32/webkit/Source/JavaScriptCore/wtf/RefCountedArray.h:153:87: warning: cast from 'char*' to 'WTF::RefCountedArray<JSC::Instruction>::Header*' increases required alignment of target type [-Wcast-align]
Comment 1 Rob Buis 2012-03-06 07:41:14 PST
Created attachment 130382 [details]
Patch
Comment 2 Rob Buis 2012-03-06 12:52:42 PST
Landed in r109952.