Ignore:
Timestamp:
Apr 15, 2000, 12:00:45 PM (25 years ago)
Author:
sandervl
Message:

file map flush & FindFirstA fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/mmap.cpp

    r3259 r3380  
    1 /* $Id: mmap.cpp,v 1.38 2000-03-28 17:11:49 sandervl Exp $ */
     1/* $Id: mmap.cpp,v 1.39 2000-04-15 10:00:45 sandervl Exp $ */
    22
    33/*
     
    425425
    426426  while(cbFlush) {
    427         if(VirtualQuery((LPSTR)lpvBase, &memInfo, cbFlush) == 0) {
     427        if(VirtualQuery((LPSTR)lpvBase, &memInfo, sizeof(MEMORY_BASIC_INFORMATION)) == 0) {
    428428                dprintf(("Win32MemMap::flushView: VirtualQuery (%x,%x) failed for %x", lpvBase, cbFlush, (ULONG)lpvBase+i*PAGE_SIZE));
    429429                goto fail;
Note: See TracChangeset for help on using the changeset viewer.