From c99b3de902d2edf3ffcdb379cf5bd2062f69a3fb Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Thu, 15 Feb 2018 22:31:50 +0100 Subject: [PATCH] Fix double minus which transformed into + ! --- m-snapshot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m-snapshot.h b/m-snapshot.h index 1f5ba912..ba5848ca 100644 --- a/m-snapshot.h +++ b/m-snapshot.h @@ -102,7 +102,7 @@ /* Create an aligned type to avoid false sharing between threads */ \ typedef struct M_C(name, _aligned_type_s) { \ type x; \ - char align[M_ALIGN_FOR_CACHELINE_EXCLUSION > sizeof(type) ? M_ALIGN_FOR_CACHELINE_EXCLUSION - - sizeof(type) : 1]; \ + char align[M_ALIGN_FOR_CACHELINE_EXCLUSION > sizeof(type) ? M_ALIGN_FOR_CACHELINE_EXCLUSION - sizeof(type) : 1]; \ } M_C(name, _aligned_type_t); \ \ typedef struct M_C(name, _s) { \