aboutsummaryrefslogtreecommitdiffstats
path: root/lib/System/Win32/MappedFile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/System/Win32/MappedFile.inc')
-rw-r--r--lib/System/Win32/MappedFile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Win32/MappedFile.inc b/lib/System/Win32/MappedFile.inc
index 830905d..4f30f56 100644
--- a/lib/System/Win32/MappedFile.inc
+++ b/lib/System/Win32/MappedFile.inc
@@ -75,7 +75,7 @@ void MappedFile::unmap() {
}
}
-void* MappedFile::map(std::string* ErrMsg) {
+const void* MappedFile::map(std::string* ErrMsg) {
if (!isMapped()) {
MapInfo->hMapping = CreateFileMapping(MapInfo->hFile, NULL, PAGE_READONLY,
0, 0, NULL);