$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r82879 - sandbox/mmap/boost/mmap/mappble_objects/file/win32
From: dsaritz_at_[hidden]
Date: 2013-02-14 10:16:20
Author: psiha
Date: 2013-02-14 10:16:19 EST (Thu, 14 Feb 2013)
New Revision: 82879
URL: http://svn.boost.org/trac/boost/changeset/82879
Log:
Win64: fixed a compilation error.
Updated copyright years.
Text files modified: 
   sandbox/mmap/boost/mmap/mappble_objects/file/win32/file.inl |     5 +++--                                   
   1 files changed, 3 insertions(+), 2 deletions(-)
Modified: sandbox/mmap/boost/mmap/mappble_objects/file/win32/file.inl
==============================================================================
--- sandbox/mmap/boost/mmap/mappble_objects/file/win32/file.inl	(original)
+++ sandbox/mmap/boost/mmap/mappble_objects/file/win32/file.inl	2013-02-14 10:16:19 EST (Thu, 14 Feb 2013)
@@ -3,7 +3,7 @@
 /// \file file.inl
 /// --------------
 ///
-/// Copyright (c) Domagoj Saric 2010.-2011.
+/// Copyright (c) Domagoj Saric 2010.-2013.
 ///
 ///  Use, modification and distribution is subject to the Boost Software License, Version 1.0.
 ///  (See accompanying file LICENSE_1_0.txt or copy at
@@ -113,9 +113,10 @@
     BOOL const success( ::SetEndOfFile( file_handle ) );
 
     #ifdef _WIN64
+        LARGE_INTEGER const offset = { 0 };
         BOOST_VERIFY
         (
-            ::SetFilePointerEx( file_handle, 0, NULL, FILE_BEGIN ) ||
+            ::SetFilePointerEx( file_handle, offset, NULL, FILE_BEGIN ) ||
             ( file_handle == INVALID_HANDLE_VALUE )
         );
     #else // _WIN32/64