⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 136141 in webkit


Ignore:
Timestamp:
Nov 29, 2012, 10:22:30 AM (14 years ago)
Author:
commit-queue@webkit.org
Message:

Fix the build after r136095
​https://bugs.webkit.org/show_bug.cgi?id=103629

Unreviewed.

Add a static_cast to fix the build.

Patch by Andrei Bucur <​abucur@adobe.com> on 2012-11-29

  • Shared/mac/ObjCObjectGraphCoders.mm:

(WebKit::ObjCObjectGraphEncoder::baseEncode):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r136139 r136141  
     12012-11-29  Andrei Bucur  <abucur@adobe.com>
     2
     3        Fix the build after r136095
     4        https://bugs.webkit.org/show_bug.cgi?id=103629
     5
     6        Unreviewed.
     7
     8        Add a static_cast to fix the build.
     9
     10        * Shared/mac/ObjCObjectGraphCoders.mm:
     11        (WebKit::ObjCObjectGraphEncoder::baseEncode):
     12
    1132012-11-29  Christophe Dumez  <christophe.dumez@intel.com>
    214
  • trunk/Source/WebKit2/Shared/mac/ObjCObjectGraphCoders.mm

    r136099 r136141  
    9595        type = typeFromObject(m_root);
    9696        if (type == UnknownType) {
    97             [NSException raise:NSInvalidArgumentException format:@"Can not encode objects of class type '%@'", NSStringFromClass([m_root class])];
     97            [NSException raise:NSInvalidArgumentException format:@"Can not encode objects of class type '%@'", static_cast<NSString *>(NSStringFromClass([m_root class]))];
    9898        }
    9999
Note: See TracChangeset for help on using the changeset viewer.