From 34b1c24dafda09f015e5c20048e8a71c0680cdc1 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Sat, 4 May 2013 17:46:44 +0200 Subject: [PATCH] Buildfix for some new compiler --- Core/HLE/sceAtrac.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/HLE/sceAtrac.cpp b/Core/HLE/sceAtrac.cpp index 36af9dbb14..13753b28dd 100644 --- a/Core/HLE/sceAtrac.cpp +++ b/Core/HLE/sceAtrac.cpp @@ -143,7 +143,7 @@ struct Atrac { p.Do(first); p.Do(atracBufSize); p.Do(codeType); - u32 data_buf_value = (u32)data_buf; + u32 data_buf_value = (u32)(intptr_t)data_buf; p.Do(data_buf_value); if (data_buf) p.DoArray(data_buf, first.filesize);