From 83f8eadce9ba122b4335b14a9c7f70e9a604794f Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 10 Mar 2018 18:09:23 +0100 Subject: [PATCH] Fix name of variable without a macro (shadow variable) --- m-core.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/m-core.h b/m-core.h index 02248fe5..6cd169ad 100644 --- a/m-core.h +++ b/m-core.h @@ -1163,9 +1163,9 @@ /* Swap two types */ #define M_SWAP(type, x, y) do { \ - type tmp = (x); \ - (x) = (y); \ - (y) = tmp; \ + type _tmp = (x); \ + (x) = (y); \ + (y) = _tmp; \ } while (0) /* Check if 'n' is assignable to an object of type 'type'.