View | Details | Raw Unified | Return to bug 251057
Collapse All | Expand All

(-)graphics/s2/files/patch-src_s2_third__party_absl_base_internal_unaligned__access.h (+22 lines)
Line 0 Link Here
1
--- src/s2/third_party/absl/base/internal/unaligned_access.h.orig	2020-11-11 19:42:32 UTC
2
+++ src/s2/third_party/absl/base/internal/unaligned_access.h
3
@@ -286,8 +286,8 @@ inline uint32_t UnalignedLoad32(const void *p) {
4
   return t;
5
 }
6
 
7
-inline uint64 UnalignedLoad64(const void *p) {
8
-  uint64 t;
9
+inline uint64_t UnalignedLoad64(const void *p) {
10
+  uint64_t t;
11
   memcpy(&t, p, sizeof t);
12
   return t;
13
 }
14
@@ -296,7 +296,7 @@ inline void UnalignedStore16(void *p, uint16_t v) { me
15
 
16
 inline void UnalignedStore32(void *p, uint32_t v) { memcpy(p, &v, sizeof v); }
17
 
18
-inline void UnalignedStore64(void *p, uint64 v) { memcpy(p, &v, sizeof v); }
19
+inline void UnalignedStore64(void *p, uint64_t v) { memcpy(p, &v, sizeof v); }
20
 
21
 }  // namespace base_internal
22
 }  // namespace absl

Return to bug 251057