aboutsummaryrefslogtreecommitdiff
path: root/www/firefox/files/patch-gfx_skia_skia_src_base_SkEndian.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox/files/patch-gfx_skia_skia_src_base_SkEndian.h')
-rw-r--r--www/firefox/files/patch-gfx_skia_skia_src_base_SkEndian.h24
1 files changed, 13 insertions, 11 deletions
diff --git a/www/firefox/files/patch-gfx_skia_skia_src_base_SkEndian.h b/www/firefox/files/patch-gfx_skia_skia_src_base_SkEndian.h
index 656127071a78..4bfe48f0592c 100644
--- a/www/firefox/files/patch-gfx_skia_skia_src_base_SkEndian.h
+++ b/www/firefox/files/patch-gfx_skia_skia_src_base_SkEndian.h
@@ -1,11 +1,13 @@
---- gfx/skia/skia/src/base/SkEndian.h.orig 2023-06-16 01:32:16.999830000 +0200
-+++ gfx/skia/skia/src/base/SkEndian.h 2023-06-16 01:32:41.701673000 +0200
-@@ -131,7 +131,7 @@
- #define SkTEndian_SwapLE64(n) (n)
- #else // SK_CPU_BENDIAN
- #define SkEndian_SwapBE16(n) (n)
-- #define SkEndian_SwapBE32(n) (n)
-+ #define SkEndian_SwapBE32(n) uint32_t(n)
- #define SkEndian_SwapBE64(n) (n)
- #define SkEndian_SwapLE16(n) SkEndianSwap16(n)
- #define SkEndian_SwapLE32(n) SkEndianSwap32(n)
+diff --git gfx/skia/skia/src/base/SkEndian.h gfx/skia/skia/src/base/SkEndian.h
+index d015f8bff2bf..cc390a53f30c 100644
+--- gfx/skia/skia/src/base/SkEndian.h
++++ gfx/skia/skia/src/base/SkEndian.h
+@@ -140,7 +140,7 @@ static inline void SkEndianSwap64s(uint64_t array[], int count) {
+ #define SkEndian_SwapLE64(n) SkEndianSwap64(n)
+
+ #define SkTEndian_SwapBE16(n) (n)
+- #define SkTEndian_SwapBE32(n) (n)
++ #define SkTEndian_SwapBE32(n) uint32_t(n)
+ #define SkTEndian_SwapBE64(n) (n)
+ #define SkTEndian_SwapLE16(n) SkTEndianSwap16<n>::value
+ #define SkTEndian_SwapLE32(n) SkTEndianSwap32<n>::value