Changeset 110602 in webkit


Ignore:
Timestamp:
Mar 13, 2012 2:02:30 PM (12 years ago)
Author:
rwlbuis@webkit.org
Message:

Fix cast-align GCC warning
https://bugs.webkit.org/show_bug.cgi?id=80790

Reviewed by Dan Bates.

This touches unpackOneRowOfBGRA8ToRGBA8.

  • platform/graphics/GraphicsContext3D.cpp:

(WebCore):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r110601 r110602  
     12012-03-13  Rob Buis  <rbuis@rim.com>
     2
     3        Fix cast-align GCC warning
     4        https://bugs.webkit.org/show_bug.cgi?id=80790
     5
     6        Reviewed by Dan Bates.
     7
     8        This touches unpackOneRowOfBGRA8ToRGBA8.
     9
     10        * platform/graphics/GraphicsContext3D.cpp:
     11        (WebCore):
     12
    1132012-03-12  Simon Fraser  <simon.fraser@apple.com>
    214
  • trunk/Source/WebCore/platform/graphics/GraphicsContext3D.cpp

    r101295 r110602  
    472472void unpackOneRowOfBGRA8ToRGBA8(const uint8_t* source, uint8_t* destination, unsigned int pixelsPerRow)
    473473{
    474     const uint32_t* source32 = reinterpret_cast<const uint32_t*>(source);
    475     uint32_t* destination32 = reinterpret_cast<uint32_t*>(destination);
     474    const uint32_t* source32 = reinterpret_cast_ptr<const uint32_t*>(source);
     475    uint32_t* destination32 = reinterpret_cast_ptr<uint32_t*>(destination);
    476476    for (unsigned int i = 0; i < pixelsPerRow; ++i) {
    477477        uint32_t bgra = source32[i];
Note: See TracChangeset for help on using the changeset viewer.