Changeset 92528 in webkit


Ignore:
Timestamp:
Aug 5, 2011 5:06:37 PM (13 years ago)
Author:
bashi@chromium.org
Message:

Unreviewed build fix on 32-bit Mac.

Patch by Kenichi Ishibashi <bashi@chromium.org> on 2011-08-05

  • css/CSSParser.cpp:

(WebCore::CSSParser::parseFontFeatureTag): Added a cast to int.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r92526 r92528  
     12011-08-05  Kenichi Ishibashi  <bashi@chromium.org>
     2
     3        Unreviewed build fix on 32-bit Mac.
     4
     5        * css/CSSParser.cpp:
     6        (WebCore::CSSParser::parseFontFeatureTag): Added a cast to int.
     7
    182011-08-05  Ryosuke Niwa  <rniwa@webkit.org>
    29
  • trunk/Source/WebCore/css/CSSParser.cpp

    r92457 r92528  
    63346334    if (value) {
    63356335        if (value->unit == CSSPrimitiveValue::CSS_NUMBER && value->isInt && value->fValue >= 0) {
    6336             tagValue = value->fValue;
     6336            tagValue = (int)value->fValue;
     6337            if (tagValue < 0)
     6338                return false;
    63376339            m_valueList->next();
    63386340        } else if (value->id == CSSValueOn || value->id == CSSValueOff) {
Note: See TracChangeset for help on using the changeset viewer.