ntdll: Use PROT_NONE instead of 0.

oldstable
Alexandre Julliard 2006-02-24 11:31:24 +01:00
parent 2ba3d3ac25
commit 7bd0cdafc2
1 changed files with 1 additions and 0 deletions

View File

@ -443,6 +443,7 @@ static int VIRTUAL_GetUnixProt( BYTE vprot )
if (vprot & VPROT_WRITECOPY) prot |= PROT_WRITE;
if (vprot & VPROT_EXEC) prot |= PROT_EXEC;
}
if (!prot) prot = PROT_NONE;
return prot;
}