forked from Mirrors/wine-wine
ntdll: Use PROT_NONE instead of 0.
parent
2ba3d3ac25
commit
7bd0cdafc2
|
@ -443,6 +443,7 @@ static int VIRTUAL_GetUnixProt( BYTE vprot )
|
||||||
if (vprot & VPROT_WRITECOPY) prot |= PROT_WRITE;
|
if (vprot & VPROT_WRITECOPY) prot |= PROT_WRITE;
|
||||||
if (vprot & VPROT_EXEC) prot |= PROT_EXEC;
|
if (vprot & VPROT_EXEC) prot |= PROT_EXEC;
|
||||||
}
|
}
|
||||||
|
if (!prot) prot = PROT_NONE;
|
||||||
return prot;
|
return prot;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue