[host] fixed failure to set m_memory in IVSHMEM

This commit is contained in:
Geoffrey McRae 2017-10-31 23:29:54 +11:00
parent 5f19092e4e
commit 8c719ff01a

View File

@ -187,6 +187,7 @@ void * IVSHMEM::GetMemory()
m_size = static_cast<UINT64>(map.size ); m_size = static_cast<UINT64>(map.size );
m_peerID = static_cast<UINT16>(map.peerID ); m_peerID = static_cast<UINT16>(map.peerID );
m_vectors = static_cast<UINT16>(map.vectors); m_vectors = static_cast<UINT16>(map.vectors);
m_memory = map.ptr;
return m_memory; return m_memory;
} }