From ea75d5adce36927e9233a1890a4613620876b1d4 Mon Sep 17 00:00:00 2001 From: nakeee Date: Fri, 12 Sep 2008 09:37:19 +0000 Subject: [PATCH] fixed casting to pointer, Im not 100% sure it's currect so please give it a look git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@497 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/State.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/State.cpp b/Source/Core/Core/Src/State.cpp index ee23a81685..163de419f5 100644 --- a/Source/Core/Core/Src/State.cpp +++ b/Source/Core/Core/Src/State.cpp @@ -91,7 +91,7 @@ void SaveStateCallback(u64 userdata, int cyclesLate) u8 *ptr = 0; PointerWrap p(&ptr, PointerWrap::MODE_MEASURE); DoState(p); - int sz = (int)(u64)ptr; + u64 sz = (u64)ptr; u8 *buffer = new u8[sz]; ptr = buffer; p.SetMode(PointerWrap::MODE_WRITE);