summaryrefslogtreecommitdiff
path: root/community/percona-server/LF_PINS-size.patch
blob: 495185796eb65f547864f230bfdc7affbd5f9ed1 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/include/lf.h	2019-01-23 14:23:40.167072246 +0000
+++ b/include/lf.h	2019-01-23 14:20:59.600689484 +0000
@@ -88,7 +88,7 @@
   std::atomic<uint64> link;
   /* we want sizeof(LF_PINS) to be 64 to avoid false sharing */
 #if 2 * 8 + SIZEOF_CHARP * (LF_PINBOX_PINS + 2) != 64
-  char pad[64 - sizeof(uint32) * 2 - sizeof(void *) * (LF_PINBOX_PINS + 2)];
+  char pad[64 - (2 * 8 + SIZEOF_CHARP * (LF_PINBOX_PINS + 2))];
 #endif
 };