[Webkit-unassigned] [Bug 27060] Type cast for first argument in make_pair()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 14 01:29:56 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=27060





--- Comment #5 from Janne Koskinen <koshuin at gmail.com>  2009-08-14 01:29:55 PDT ---
Little more investigations.
This isn't about CRTP and neither is about using RefPtr. I even tried the union
for accessing as it is used to traverse. It is hard to isolate structure.cpp
from surroundings.

For what it's worth. I don't see casting to unsigned as a bad solution as it
the argument would take 4 bytes anyways on ARM. and storing that to pair has to
be 4 bytes as well.

Changing the member to be unsigned instead of 7bits is not good solution as
that uses more memory and will make the struct different from what it is on
other platforms.

Can't really think of anything else that might go wrong than unlikely alignment
issue or bad alternative make_pair implementation.

-- 
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