From 4ccee2340ae2f2e8ca0f7de10bb6611d228b239e Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Fri, 29 Nov 2013 15:40:15 +0100 Subject: [PATCH] fixed typo (reported by Michael Zeilfelder) --- src/libcore/mmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/mmap.cpp b/src/libcore/mmap.cpp index cde965de..6319403b 100644 --- a/src/libcore/mmap.cpp +++ b/src/libcore/mmap.cpp @@ -106,7 +106,7 @@ MemoryMappedFile::~MemoryMappedFile() { if (retval != 0) Log(EWarn, "munmap(): unable to unmap memory!"); #elif defined(WIN32) - if (!UnmapViewOfFile(d->data) { + if (!UnmapViewOfFile(d->data)) { Log(EWarn, "UnmapViewOfFile(): unable to unmap memory: %s", lastErrorText().c_str()); return; }