[Groonga-commit] groonga/groonga at f543854 [master] windows: add missing cast

Back to archive index

Kouhei Sutou null+****@clear*****
Wed May 11 10:31:08 JST 2016


Kouhei Sutou	2016-05-11 10:31:08 +0900 (Wed, 11 May 2016)

  New Revision: f543854f274b99e3526f1d6abfb4bf025914f304
  https://github.com/groonga/groonga/commit/f543854f274b99e3526f1d6abfb4bf025914f304

  Message:
    windows: add missing cast

  Modified files:
    lib/dat/file-impl.cpp

  Modified: lib/dat/file-impl.cpp (+1 -1)
===================================================================
--- lib/dat/file-impl.cpp    2016-05-11 10:29:00 +0900 (ebc418a)
+++ lib/dat/file-impl.cpp    2016-05-11 10:31:08 +0900 (75abdba)
@@ -128,7 +128,7 @@ void FileImpl::flush() {
     return;
   }
 
-  BOOL succeeded = ::FlushViewOfFile(addr_, size_);
+  BOOL succeeded = ::FlushViewOfFile(addr_, static_cast<SIZE_T>(size_));
   GRN_DAT_THROW_IF(IO_ERROR, !succeeded);
 
   SYSTEMTIME system_time;
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index