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>
Wed, 21 Feb 2024 16:18:14 +0000 (17:18 +0100)
commitf6e18ddd7f7bc7b0c0d6080b1410266540732e56
tree73aa857d525b236ae82e4e2d8b65ae7453933656
parente43598eadc012e413c9da1dd06a62c9728ca7b8b
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