Skip to content

Commit

Permalink
Merge pull request #154 from pleroux0/fix_compile_mingw_830
Browse files Browse the repository at this point in the history
Fix compilation error when compiling on MinGW G++ 8.3.0
  • Loading branch information
d-frey committed Mar 1, 2019
2 parents d57aad7 + a2c7e9c commit 662cd7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/tao/pegtl/internal/file_mapper_win32.hpp
Expand Up @@ -143,7 +143,7 @@ namespace tao

explicit file_mapper( const win32_file_mapper& mapper )
: m_size( mapper.m_size ),
m_data( static_cast< const char* const >(::MapViewOfFile( mapper.m_handle,
m_data( static_cast< const char* >(::MapViewOfFile( mapper.m_handle,
FILE_MAP_READ,
0,
0,
Expand Down

0 comments on commit 662cd7f

Please sign in to comment.