[Webkit-unassigned] [Bug 62168] error: converting 'false' to pointer type when compiling with gcc-4.6.0

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 11 16:39:26 PDT 2011


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





--- Comment #6 from Adam Barth <abarth at webkit.org>  2011-08-11 16:39:26 PST ---
> bool hasParentStyle = parentNodeForRenderingAndStyle() ? static_cast<bool>(parentNodeForRenderingAndStyle()->renderStyle()) : false;

^^^ this one is preferred.

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