Windows: Fix build
Vicki Pfau vi@endrift.com
Wed, 12 Aug 2020 00:40:02 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/util/vfs/vfs-fd.c
→
src/util/vfs/vfs-fd.c
@@ -168,7 +168,7 @@
static void _vfdUnmap(struct VFile* vf, void* memory, size_t size) { UNUSED(size); struct VFileFD* vfd = (struct VFileFD*) vf; - FlushViewOfFile(buffer, size); + FlushViewOfFile(memory, size); size_t i; for (i = 0; i < HandleMappingListSize(&vfd->handles); ++i) { if (HandleMappingListGetPointer(&vfd->handles, i)->mapping == memory) {