diff --git a/Windows/Debugger/CtrlDisAsmView.cpp b/Windows/Debugger/CtrlDisAsmView.cpp
index 77758ffad0..358e2183a1 100644
--- a/Windows/Debugger/CtrlDisAsmView.cpp
+++ b/Windows/Debugger/CtrlDisAsmView.cpp
@@ -149,13 +149,10 @@ CtrlDisAsmView *CtrlDisAsmView::getFrom(HWND hwnd)
return (CtrlDisAsmView *)GetWindowLongPtr(hwnd, GWLP_USERDATA);
}
-
-
-
CtrlDisAsmView::CtrlDisAsmView(HWND _wnd)
{
wnd=_wnd;
- SetWindowLongPtr(wnd, GWLP_USERDATA, (LONG)this);
+ SetWindowLongPtr(wnd, GWLP_USERDATA, (LONG_PTR)this);
SetWindowLong(wnd, GWL_STYLE, GetWindowLong(wnd,GWL_STYLE) | WS_VSCROLL);
SetScrollRange(wnd, SB_VERT, -1,1,TRUE);
diff --git a/Windows/Debugger/CtrlMemView.cpp b/Windows/Debugger/CtrlMemView.cpp
index d7e1ea5311..7bc643a7ea 100644
--- a/Windows/Debugger/CtrlMemView.cpp
+++ b/Windows/Debugger/CtrlMemView.cpp
@@ -24,7 +24,7 @@ extern HMENU g_hPopupMenus;
CtrlMemView::CtrlMemView(HWND _wnd)
{
wnd=_wnd;
- SetWindowLongPtr(wnd, GWLP_USERDATA, (LONG)this);
+ SetWindowLongPtr(wnd, GWLP_USERDATA, (LONG_PTR)this);
SetWindowLong(wnd, GWL_STYLE, GetWindowLong(wnd,GWL_STYLE) | WS_VSCROLL);
SetScrollRange(wnd, SB_VERT, -1,1,TRUE);
diff --git a/Windows/GEDebugger/CtrlDisplayListView.cpp b/Windows/GEDebugger/CtrlDisplayListView.cpp
index 8c1e12c112..5eeafcd08e 100644
--- a/Windows/GEDebugger/CtrlDisplayListView.cpp
+++ b/Windows/GEDebugger/CtrlDisplayListView.cpp
@@ -36,7 +36,7 @@ void CtrlDisplayListView::registerClass()
CtrlDisplayListView::CtrlDisplayListView(HWND _wnd)
: wnd(_wnd)
{
- SetWindowLongPtr(wnd, GWLP_USERDATA, (LONG) this);
+ SetWindowLongPtr(wnd, GWLP_USERDATA, (LONG_PTR) this);
SetWindowLong(wnd, GWL_STYLE, GetWindowLong(wnd,GWL_STYLE) | WS_VSCROLL);
SetScrollRange(wnd, SB_VERT, -1,1,TRUE);
diff --git a/Windows/PPSSPP.vcxproj b/Windows/PPSSPP.vcxproj
index 65386549b1..b7a918962c 100644
--- a/Windows/PPSSPP.vcxproj
+++ b/Windows/PPSSPP.vcxproj
@@ -140,10 +140,9 @@
Windows
MachineX86
$(OutDir)$(TargetName)$(TargetExt)
- false
true
- 0x00400000
- true
+
+
/ignore:4049 /ignore:4217 %(AdditionalOptions)
MultiplyDefinedSymbolOnly
@@ -179,10 +178,7 @@
$(OutDir)$(ProjectName).pdb
Windows
MachineX64
- false
true
- 0x00400000
- true
NotSet
/ignore:4049 /ignore:4217 %(AdditionalOptions)
MultiplyDefinedSymbolOnly
@@ -223,9 +219,8 @@
true
MachineX86
/ignore:4049 /ignore:4217 %(AdditionalOptions)
- 0x00400000
- false
- true
+
+
true
true
@@ -266,9 +261,6 @@
true
true
MachineX64
- 0x00400000
- false
- true
/ignore:4049 /ignore:4217 %(AdditionalOptions)
@@ -456,4 +448,4 @@
-
+
\ No newline at end of file