ntdll: Use the right section size when setting protections.
commitf114ba119cd495af76319dd76220f8f0f862d985
authorAlexandre Julliard <julliard@winehq.org>
Sun, 30 Jul 2006 07:59:46 +0000 (30 09:59 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Sun, 30 Jul 2006 07:59:46 +0000 (30 09:59 +0200)
tree75441d565760e0b44ecbcef5a2ee162b1194afc1
parentfd61c3f24bd6a6b589df6e1bb528cf5b7221dc98
ntdll: Use the right section size when setting protections.

Use the same size computation when setting section protections than
when mapping it in the first place (reported by Nicholas Miell).
dlls/ntdll/virtual.c