[Webkit-unassigned] [Bug 45301] New: Fix warnings: warning: cast from ... to ... increases required alignment of target type on ARM
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 7 09:16:26 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=45301
Summary: Fix warnings: warning: cast from ... to ... increases
required alignment of target type on ARM
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ossy at webkit.org
Blocks: 43191
../../../WebCore/bindings/js/SerializedScriptValue.cpp:871: warning: cast from 'const uint8_t*' to 'const UChar*' increases required alignment of target type
../../../WebCore/bindings/js/SerializedScriptValue.cpp:783: warning: cast from 'const uint8_t*' to 'const uint32_t*' increases required alignment of target type
../../../WebCore/bindings/js/SerializedScriptValue.cpp:783: warning: cast from 'const uint8_t*' to 'const short unsigned int*' increases required alignment of target type
../../../WebCore/bindings/js/SerializedScriptValue.cpp:783: warning: cast from 'const uint8_t*' to 'const long long unsigned int*' increases required alignment of target type
../../../WebCore/plugins/PluginDatabase.cpp:510: warning: cast from 'char*' to 'time_t*' increases required alignment of target type
SerializedScriptValue.cpp:
---------------------------
static bool readString(const uint8_t*& ptr, const uint8_t* end, UString& str, unsigned length)
{
...
str = UString(reinterpret_cast<const UChar*>(ptr), length); // <-- line 871
...
}
template <typename T> static bool readLittleEndian(const uint8_t*& ptr, const uint8_t* end, T& value)
{
...
value = *reinterpret_cast<const T*>(ptr); // <-- line 783
...
}
PluginDatabase.cpp:
--------------------
static bool readTime(time_t& resultTime, char*& start, const char* end)
{
...
resultTime = *reinterpret_cast<time_t*>(start); // <-- line 510
...
}
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list