Changeset 24058 in webkit
- Timestamp:
- Jul 6, 2007 4:42:53 AM (17 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r24057 r24058 1 2007-07-06 Bernhard Rosenkraenzer <bero@arklinux.org> 2 3 Reviewed by Sam. 4 5 Fix for http://bugs.webkit.org/show_bug.cgi?id=13985 6 Bug 13985: WebCore/rendering/RenderTable.cpp fails to compile with gcc 4.2.x 7 8 * rendering/RenderTable.cpp: 9 (WebKit::RenderTable::calcBorderLeft) 10 (WebKit::RenderTable::calcBorderRight) 11 1 12 2007-07-06 Maxime Britto <mbritto@pleyo.com> 2 13 -
trunk/WebCore/rendering/RenderTable.cpp
r23762 r24058 723 723 return 0; 724 724 if (gb.style() > BHIDDEN) 725 borderWidth = max(borderWidth, gb.width);725 borderWidth = max(borderWidth, static_cast<unsigned>(gb.width)); 726 726 } 727 727 … … 736 736 737 737 if (sb.style() > BHIDDEN) 738 borderWidth = max(borderWidth, s b.width);738 borderWidth = max(borderWidth, static_cast<unsigned>(sb.width)); 739 739 740 740 const RenderTableSection::CellStruct& cs = firstNonEmptySection->cellAt(0, leftmostColumn); … … 750 750 751 751 if (cb.style() > BHIDDEN) 752 borderWidth = max(borderWidth, cb.width);752 borderWidth = max(borderWidth, static_cast<unsigned>(cb.width)); 753 753 if (rb.style() > BHIDDEN) 754 borderWidth = max(borderWidth, rb.width);754 borderWidth = max(borderWidth, static_cast<unsigned>(rb.width)); 755 755 } 756 756 } … … 782 782 return 0; 783 783 if (gb.style() > BHIDDEN) 784 borderWidth = max(borderWidth, gb.width);784 borderWidth = max(borderWidth, static_cast<unsigned>(gb.width)); 785 785 } 786 786 … … 795 795 796 796 if (sb.style() > BHIDDEN) 797 borderWidth = max(borderWidth, s b.width);797 borderWidth = max(borderWidth, static_cast<unsigned>(sb.width)); 798 798 799 799 const RenderTableSection::CellStruct& cs = firstNonEmptySection->cellAt(0, rightmostColumn); … … 809 809 810 810 if (cb.style() > BHIDDEN) 811 borderWidth = max(borderWidth, cb.width);811 borderWidth = max(borderWidth, static_cast<unsigned>(cb.width)); 812 812 if (rb.style() > BHIDDEN) 813 borderWidth = max(borderWidth, rb.width);813 borderWidth = max(borderWidth, static_cast<unsigned>(rb.width)); 814 814 } 815 815 }
Note: See TracChangeset
for help on using the changeset viewer.