summaryrefslogtreecommitdiff
path: root/core/io
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-03-16 11:20:52 -0700
committerGitHub <noreply@github.com>2019-03-16 11:20:52 -0700
commitaff3dd36bad5cbffb5a995ed63eb67ad099e60e0 (patch)
tree17d506a0c024c192e3ba77cc60a11496ae538d1c /core/io
parente5a310cd38f087f4158a04a32d631f420e1236d1 (diff)
parent4121df235ee49471f30089a2d6b6e081536852ba (diff)
Merge pull request #25495 from IronicallySerious/fix-expand-macros
Fix parameterised macros in core. Addresses #25488
Diffstat (limited to 'core/io')
-rw-r--r--core/io/logger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/logger.cpp b/core/io/logger.cpp
index eeb82bfce4..9175f6a262 100644
--- a/core/io/logger.cpp
+++ b/core/io/logger.cpp
@@ -39,7 +39,7 @@
// va_copy, otherwise you have to use the internal version (__va_copy).
#if !defined(va_copy)
#if defined(__GNUC__)
-#define va_copy(d, s) __va_copy(d, s)
+#define va_copy(d, s) __va_copy((d), (s))
#else
#define va_copy(d, s) ((d) = (s))
#endif