[Webkit-unassigned] [Bug 102475] [Qt][Mac] Fix the build after r124873

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 16 05:01:54 PST 2012


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





--- Comment #1 from Peter Gal <galpeter at inf.u-szeged.hu>  2012-11-16 05:03:45 PST ---
So... I think this is the problem (if I'm correct:

CreateImageBacking(uintptr_t imageID)

on linux (64bit) the uintptr_t is typedef for unsigned int, also the uint32_t is unsigned int.
But, on the mac the unitptr_t is unsigned long long, the uint32_t is just unsigned int.

So on linux uintptr_t is just as uint32_t. But on mac it isn't. In the ArgumentEncoder class there are methods for encoding like:

void ArgumentEncoder::encode(uint32_t n)

this results that on linux there is a way to encode the uintptr_t, on on mac there is no such method.

(This holds only true if I understand the Argument* classes correctly.)

So... could what should we do about this? use uint[32/64]_t or create an encode/decode function for the uintptr_t on mac?

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