Merge pull request #566 from lioncash/fix-crash

Common: Using size_t in PointerWrap's DoContainer apparently causes crashes
This commit is contained in:
Lioncash 2014-07-06 03:06:26 -04:00
commit 9d79a57755
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ private:
template <typename T> template <typename T>
void DoContainer(T& x) void DoContainer(T& x)
{ {
size_t size = x.size(); u32 size = (u32)x.size();
Do(size); Do(size);
x.resize(size); x.resize(size);