diff --git a/misc/registry.c b/misc/registry.c
index cbf52e012e22d9fc37e853ceca60c3ffba1c70bc..b2800df6289fc16ff76c78f8d3f833ae263f2198 100644
--- a/misc/registry.c
+++ b/misc/registry.c
@@ -1370,7 +1370,7 @@ static LPSTR _convert_winnt_registry_to_wine_format(LPCWSTR fn, int level)
     base = NULL; len = 0;
     nts = NtMapViewOfSection( hMapping, GetCurrentProcess(),
                               &base, 0, 0, &lg_int, &len, ViewShare, 0, 
-                              FILE_MAP_READ );
+			      PAGE_READONLY);
     NtClose( hMapping );
     if (nts != STATUS_SUCCESS) goto error1;