Quick build fix for gcc

This commit is contained in:
Henrik Rydgård committed 2012-12-28 23:33:00 +01:00
1 parent 1689731752
commit 95c4e0b9c4
8 files changed
+18 -10

No files matched your search

+3 -2
View File
@@ -155,8 +155,9 @@ struct MsgPipe : public KernelObject
virtual void DoState(PointerWrap &p)
{
p.Do(nmp);
p.Do(sendWaitingThreads, MsgPipeWaitingThread());
p.Do(receiveWaitingThreads, MsgPipeWaitingThread());
MsgPipeWaitingThread mpwt1 = {0}, mpwt2 = {0};
p.Do(sendWaitingThreads, mpwt1);
p.Do(receiveWaitingThreads, mpwt2);
bool hasBuffer = buffer != NULL;
p.Do(hasBuffer);
if (hasBuffer)