Module: wine Branch: refs/heads/master Commit: 7bd0cdafc2b1a480f97c2239ee181f66aa4283ac URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=7bd0cdafc2b1a480f97c2239...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Feb 24 11:31:24 2006 +0100
ntdll: Use PROT_NONE instead of 0.
---
dlls/ntdll/virtual.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/virtual.c b/dlls/ntdll/virtual.c index c33dce6..d17c58d 100644 --- a/dlls/ntdll/virtual.c +++ b/dlls/ntdll/virtual.c @@ -443,6 +443,7 @@ static int VIRTUAL_GetUnixProt( BYTE vpr if (vprot & VPROT_WRITECOPY) prot |= PROT_WRITE; if (vprot & VPROT_EXEC) prot |= PROT_EXEC; } + if (!prot) prot = PROT_NONE; return prot; }