Ignore:
Timestamp:
Nov 14, 2000, 10:16:26 PM (25 years ago)
Author:
sandervl
Message:

MN: VirtualAlloc fix (VirtualProtect call)

File:
1 edited

Legend:

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

    r4583 r4592  
    1 /* $Id: virtual.cpp,v 1.36 2000-11-10 10:14:25 sandervl Exp $ */
     1/* $Id: virtual.cpp,v 1.37 2000-11-14 21:16:26 sandervl Exp $ */
    22
    33/*
     
    407407                            {   //change protection flags
    408408                                DWORD tmp;
    409                                 if(VirtualProtect(lpvAddress, cbSize, fdwAllocationType, &tmp) == TRUE) {
     409                                if(VirtualProtect(lpvAddress, cbSize, fdwProtect, &tmp) == TRUE) {
    410410                                    return lpvAddress;
    411411                                }
Note: See TracChangeset for help on using the changeset viewer.