Index: third_party/zlib/google.patch |
diff --git a/third_party/zlib/google.patch b/third_party/zlib/google.patch |
index 3818b11745073fb8afcf71719c84575fda690983..c943b410c2111cba1e2137111a63492d193dd7d7 100644 |
--- a/third_party/zlib/google.patch |
+++ b/third_party/zlib/google.patch |
@@ -1,3 +1,15 @@ |
+diff -ru zlib-1.2.5/crc_folding.c zlib/crc_folding.c |
+--- zlib-1.2.5/crc_folding.c |
++++ zlib/crc_folding.c |
+@@ -283,7 +283,7 @@ |
+ goto partial; |
+ } |
+ |
+- algn_diff = 0 - (unsigned long)src & 0xF; |
++ algn_diff = 0 - (uintptr_t)src & 0xF; |
+ if (algn_diff) { |
+ xmm_crc_part = _mm_loadu_si128((__m128i *)src); |
+ _mm_storeu_si128((__m128i *)dst, xmm_crc_part); |
diff -ru zlib-1.2.5/gzlib.c zlib/gzlib.c |
--- zlib-1.2.5/gzlib.c |
+++ zlib/gzlib.c |