From 09eb1acc5e49553be36f8e130db2b47661a07437 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 6 Jul 2014 03:05:27 -0400 Subject: [PATCH] Common: Using size_t in PointerWrap's DoContainer apparently causes crashes. Fixes this. --- Source/Core/Common/ChunkFile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Common/ChunkFile.h b/Source/Core/Common/ChunkFile.h index e0aecbea94..8e4280e9ab 100644 --- a/Source/Core/Common/ChunkFile.h +++ b/Source/Core/Common/ChunkFile.h @@ -268,7 +268,7 @@ private: template void DoContainer(T& x) { - size_t size = x.size(); + u32 size = (u32)x.size(); Do(size); x.resize(size);