summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-02-14 15:14:02 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-02-14 15:14:08 (GMT)
commitfd74eba1402d66a4d6a1af3442cf219d02f7cbc8 (patch)
treea39f063889f7051bdbf8e7b7df19970e82166201
parent49a53cac87fe3a303a2794ccdd7c1b5cecd2d016 (diff)
parent76a5ac210050e0c1ccdce8ce89a0c77579e30187 (diff)
downloadCMake-fd74eba1402d66a4d6a1af3442cf219d02f7cbc8.zip
CMake-fd74eba1402d66a4d6a1af3442cf219d02f7cbc8.tar.gz
CMake-fd74eba1402d66a4d6a1af3442cf219d02f7cbc8.tar.bz2
Merge topic 'fix-pointer-truncation'
76a5ac2100 cmListFileLexer: Add missing include to avoid possible pointer truncation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2956
-rw-r--r--Source/LexerParser/cmListFileLexer.c2
-rw-r--r--Source/LexerParser/cmListFileLexer.in.l2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/LexerParser/cmListFileLexer.c b/Source/LexerParser/cmListFileLexer.c
index c726415..15dcda0 100644
--- a/Source/LexerParser/cmListFileLexer.c
+++ b/Source/LexerParser/cmListFileLexer.c
@@ -766,7 +766,7 @@ Modify cmListFileLexer.c:
/* IWYU pragma: no_forward_declare yyguts_t */
-#ifdef WIN32
+#ifdef _WIN32
#include "cmsys/Encoding.h"
#endif
diff --git a/Source/LexerParser/cmListFileLexer.in.l b/Source/LexerParser/cmListFileLexer.in.l
index 6a6fb5f..fdf14d2 100644
--- a/Source/LexerParser/cmListFileLexer.in.l
+++ b/Source/LexerParser/cmListFileLexer.in.l
@@ -18,7 +18,7 @@ Modify cmListFileLexer.c:
/* IWYU pragma: no_forward_declare yyguts_t */
-#ifdef WIN32
+#ifdef _WIN32
#include "cmsys/Encoding.h"
#endif