Skip to content
Permalink
Browse files

Fix compile error for x86_64 MS Windows build

lvstream.cpp:592:121: error: cast from 'HANDLE {aka void*}' to 'lUInt32 {aka long unsigned int}' loses precision
  • Loading branch information
EXL committed May 10, 2018
1 parent c948eb6 commit de03a1145f33ec60ce2941392d229d2eb787f1d5
Showing with 1 addition and 1 deletion.
  1. +1 −1 crengine/src/lvstream.cpp
@@ -589,7 +589,7 @@ class LVFileMappedStream : public LVNamedStream
);
if ( m_hMap==NULL ) {
DWORD err = GetLastError();
CRLog::error( "LVFileMappedStream::Map() -- Cannot map file to memory, err=%08x, hFile=%08x", err, (lUInt32)m_hFile );
CRLog::error( "LVFileMappedStream::Map() -- Cannot map file to memory, err=%08x, hFile=%p", err, m_hFile );
return error();
}
m_map = (lUInt8*) MapViewOfFile(

0 comments on commit de03a11

Please sign in to comment.
You can’t perform that action at this time.