~ubuntu-branches/ubuntu/trusty/qtscript-opensource-src/trusty

« back to all changes in this revision

Viewing changes to src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/UTF8.cpp

  • Committer: Package Import Robot
  • Author(s): Timo Jyrinki
  • Date: 2014-03-10 14:30:51 UTC
  • mfrom: (1.1.4) (5.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20140310143051-6rr67kxeqic3zern
Tags: 5.2.1+dfsg-1ubuntu1
* debian/patches/aarch64.patch
  - Needed to fix arm64 FTBFS

Show diffs side-by-side

added added

removed removed

Lines of Context:
229
229
// This table contains as many values as there might be trailing bytes
230
230
// in a UTF-8 sequence.
231
231
static const UChar32 offsetsFromUTF8[6] = { 0x00000000UL, 0x00003080UL, 0x000E2080UL, 
232
 
            0x03C82080UL, 0xFA082080UL, 0x82082080UL };
 
232
            0x03C82080UL, static_cast<UChar32>(0xFA082080UL), static_cast<UChar32>(0x82082080UL) };
233
233
 
234
234
ConversionResult convertUTF8ToUTF16(
235
235
    const char** sourceStart, const char* sourceEnd,