You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/08/31 19:46:01 UTC

svn commit: r809673 - /commons/sandbox/runtime/trunk/src/main/native/os/win32/pmmap.c

Author: mturk
Date: Mon Aug 31 17:46:01 2009
New Revision: 809673

URL: http://svn.apache.org/viewvc?rev=809673&view=rev
Log:
Fix typo



Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/win32/pmmap.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/pmmap.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/pmmap.c?rev=809673&r1=809672&r2=809673&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/pmmap.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/pmmap.c Mon Aug 31 17:46:01 2009
@@ -270,8 +270,8 @@
         ACR_THROW_IO_IF_ERR(ACR_EEXIST);
         return NULL;
     }
-    off.QuadValue = offset;
-    m->base = MapViewOfFile(m->md, m->flags, off.HighPart, off.LowPart, size);
+    off.QuadPart = offset;
+    m->base = MapViewOfFile(m->mh, m->flags, off.HighPart, off.LowPart, size);
     if (IS_INVALID_HANDLE(m->base)) {
         ACR_THROW_IO_ERRNO();
         return NULL;