Changeset 144811 in webkit


Ignore:
Timestamp:
Mar 5, 2013 1:41:22 PM (11 years ago)
Author:
Csaba Osztrogonác
Message:

Fix cast-align warning in ASCIIFastPath.h on ARM
https://bugs.webkit.org/show_bug.cgi?id=111436

Reviewed by Benjamin Poulain.

  • wtf/text/ASCIIFastPath.h:

(WTF::charactersAreAllASCII):

Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r144662 r144811  
     12013-03-05  Csaba Osztrogonác  <ossy@webkit.org>
     2
     3        Fix cast-align warning in ASCIIFastPath.h on ARM
     4        https://bugs.webkit.org/show_bug.cgi?id=111436
     5
     6        Reviewed by Benjamin Poulain.
     7
     8        * wtf/text/ASCIIFastPath.h:
     9        (WTF::charactersAreAllASCII):
     10
    1112013-03-04  Laszlo Gombos  <l.gombos@samsung.com>
    212
  • trunk/Source/WTF/wtf/text/ASCIIFastPath.h

    r142336 r144811  
    2828#include <stdint.h>
    2929#include <wtf/Alignment.h>
     30#include <wtf/StdLibExtras.h>
    3031#include <wtf/unicode/Unicode.h>
    3132
     
    8687    const size_t loopIncrement = sizeof(MachineWord) / sizeof(CharacterType);
    8788    while (characters < wordEnd) {
    88         allCharBits |= *(reinterpret_cast<const MachineWord*>(characters));
     89        allCharBits |= *(reinterpret_cast_ptr<const MachineWord*>(characters));
    8990        characters += loopIncrement;
    9091    }
Note: See TracChangeset for help on using the changeset viewer.