Cleanup
Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
e0fc1ae56a
commit
f8f8e7e76e
@ -786,7 +786,7 @@ namespace winstd
|
||||
///
|
||||
globalmem_accessor(_In_ HGLOBAL hMem) : m_h(hMem)
|
||||
{
|
||||
m_data = (T*)GlobalLock(hMem);
|
||||
m_data = reinterpret_cast<T*>(GlobalLock(hMem));
|
||||
if (!m_data)
|
||||
throw win_runtime_error("GlobalLock failed");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user