mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 677993: Add a cast to fix 'cast to pointer from integer of different size' gcc warning in jsobjinlines.h r=bhackett
This commit is contained in:
parent
601147abfd
commit
68b46f5f7e
@ -350,7 +350,7 @@ inline void
|
||||
JSObject::setArrayLength(uint32 length)
|
||||
{
|
||||
JS_ASSERT(isArray());
|
||||
setPrivate((void*) length);
|
||||
setPrivate((void*)(size_t)length);
|
||||
}
|
||||
|
||||
inline uint32
|
||||
|
Loading…
Reference in New Issue
Block a user