diff --git a/Source/3rd Party/7zip/7zip.vcproj b/Source/3rd Party/7zip/7zip.vcproj
index d2a7c18e5..22ea1b571 100644
--- a/Source/3rd Party/7zip/7zip.vcproj
+++ b/Source/3rd Party/7zip/7zip.vcproj
@@ -38,6 +38,7 @@
bi_valid > (int)Buf_size - length) {
- s->bi_buf |= (value << s->bi_valid);
+ s->bi_buf |= (value << s->bi_valid) & 0xFFFF;
put_short(s, s->bi_buf);
s->bi_buf = (ush)value >> (Buf_size - s->bi_valid);
s->bi_valid += length - Buf_size;
diff --git a/Source/3rd Party/wx/wx_base.vcproj b/Source/3rd Party/wx/wx_base.vcproj
index 10e598f32..c3fe5d048 100644
--- a/Source/3rd Party/wx/wx_base.vcproj
+++ b/Source/3rd Party/wx/wx_base.vcproj
@@ -39,7 +39,6 @@
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="lib\vc_lib\mswud,include,src\tiff\libtiff,src\jpeg,src\png,src\zlib,src\regex,src\expat\lib"
PreprocessorDefinitions="_LIB;__WXMSW__;WXBUILDING;wxUSE_GUI=0;wxUSE_BASE=1"
- RuntimeLibrary="3"
PrecompiledHeaderThrough="wx/wxprec.h"
DisableSpecificWarnings="4005"
/>
@@ -96,7 +95,6 @@
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="lib\vc_lib\mswu,include,src\tiff\libtiff,src\jpeg,src\png,src\zlib,src\regex,src\expat\lib"
PreprocessorDefinitions=";_LIB;__WXMSW__;WXBUILDING;wxUSE_GUI=0;wxUSE_BASE=1"
- RuntimeLibrary="2"
PrecompiledHeaderThrough="wx/wxprec.h"
DisableSpecificWarnings="4005"
/>
@@ -678,9 +676,9 @@
>
@@ -738,9 +736,9 @@
>
diff --git a/Source/3rd Party/wx/wx_core.vcproj b/Source/3rd Party/wx/wx_core.vcproj
index 6d3a9b0f0..3afbfa91c 100644
--- a/Source/3rd Party/wx/wx_core.vcproj
+++ b/Source/3rd Party/wx/wx_core.vcproj
@@ -39,7 +39,6 @@
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="lib\vc_lib\mswu;include,src\tiff\libtiff,src\jpeg,src\png"
PreprocessorDefinitions="_LIB;__WXMSW__;WXBUILDING;wxUSE_BASE=0"
- RuntimeLibrary="3"
PrecompiledHeaderThrough="wx/wxprec.h"
DisableSpecificWarnings="4005"
/>
@@ -96,7 +95,6 @@
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="lib\vc_lib\mswu;include,src\tiff\libtiff,src\jpeg,src\png"
PreprocessorDefinitions="_LIB;__WXMSW__;WXBUILDING;wxUSE_BASE=0"
- RuntimeLibrary="2"
PrecompiledHeaderThrough="wx/wxprec.h"
DisableSpecificWarnings="4005"
/>
@@ -4059,11 +4057,11 @@
>