Merge pull request #566 from lioncash/fix-crash
Common: Using size_t in PointerWrap's DoContainer apparently causes crashes
This commit is contained in:
commit
9d79a57755
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue