skia: Cast SkEndian_SwapBE32(n) to uint32_t on big-endian
authorCarsten Schoenert <c.schoenert@t-online.de>
Tue, 18 Jul 2023 14:02:48 +0000 (16:02 +0200)
committerCarsten Schoenert <c.schoenert@t-online.de>
Fri, 14 Jun 2024 11:26:00 +0000 (13:26 +0200)
commitf1ee0b7050399a6cdc44f4442b25d0968736ad0c
treea18035f882efde201c944213e2d77d9feac6aacc
parent160bcc1011bbb8a08efd8eecb9471f866ce4f318
skia: Cast SkEndian_SwapBE32(n) to uint32_t on big-endian

On BE the byte-swapping needs to be unint32_t so cast that to that.
We have ppc64 and s390x which are Big Endian platforms.

Based on https://cgit.freebsd.org/ports/commit/?id=3110f3a0dcfdf1d5be165bbbb1ff08d720c63c48

Gbp-Pq: Topic fixes
Gbp-Pq: Name skia-Cast-SkEndian_SwapBE32-n-to-uint32_t-on-big-endian.patch
gfx/skia/skia/src/base/SkEndian.h