Sophie

Sophie

distrib > Mageia > 8 > i586 > by-pkgid > 2a03bec268ffa110d41d2f46ddc87237 > files > 8

chromium-browser-stable-102.0.5005.61-1.mga8.src.rpm

--- patch100_60/base/sys_byteorder.h	2022-03-29 02:16:55.000000000 +0200
+++ patch100_60/base/sys_byteorder.h.patch	2022-04-02 11:19:26.205889326 +0200
@@ -30,7 +30,7 @@ inline uint16_t ByteSwap(uint16_t x) {
 #endif
 }
 
-inline uint32_t ByteSwap(uint32_t x) {
+inline constexpr uint32_t ByteSwap(uint32_t x) {
 #if defined(COMPILER_MSVC) && !defined(__clang__)
   return _byteswap_ulong(x);
 #else
--- patch102/base/allocator/partition_allocator/base/sys_byteorder.h	2022-05-19 04:16:40.000000000 +0200
+++ patch102/base/allocator/partition_allocator/base/sys_byteorder.h.constexpr	2022-05-21 11:40:12.264985151 +0200
@@ -31,7 +31,7 @@ inline uint16_t ByteSwap(uint16_t x) {
 #endif
 }
 
-inline uint32_t ByteSwap(uint32_t x) {
+inline constexpr uint32_t ByteSwap(uint32_t x) {
 #if defined(COMPILER_MSVC) && !defined(__clang__)
   return _byteswap_ulong(x);
 #else