From ef9c4522844448c7f73b9bd801b24849a6e7171e Mon Sep 17 00:00:00 2001 From: Don Ho Date: Tue, 25 Jan 2022 16:14:48 +0100 Subject: [PATCH] Restore Scintilla header which make x64 release binary compiled with PlatformToolset v141 crash on startup (x64 debug binary works fine though). --- scintilla/include/Sci_Position.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scintilla/include/Sci_Position.h b/scintilla/include/Sci_Position.h index bad91b449..b979bd0be 100644 --- a/scintilla/include/Sci_Position.h +++ b/scintilla/include/Sci_Position.h @@ -20,7 +20,7 @@ typedef size_t Sci_PositionU; // For Sci_CharacterRange which is defined as long to be compatible with Win32 CHARRANGE -typedef intptr_t Sci_PositionCR; +typedef long Sci_PositionCR; #ifdef _WIN32 #define SCI_METHOD __stdcall