diff options
author | Dwight <dmerriman@gmail.com> | 2009-08-13 12:28:30 -0400 |
---|---|---|
committer | Dwight <dmerriman@gmail.com> | 2009-08-13 12:28:30 -0400 |
commit | 02959549f205696c7390083fd135c9176fc77e31 (patch) | |
tree | 5cec7ecebc6c92aaaf0c8362c466b64b152ba0e1 /util | |
parent | d22866abfff9e1a85f5fbec8b8be50653e4aa3d7 (diff) | |
download | mongo-02959549f205696c7390083fd135c9176fc77e31.tar.gz |
elim warning windows
Diffstat (limited to 'util')
-rw-r--r-- | util/mmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/mmap.cpp b/util/mmap.cpp index 9e20f05a28d..bb678a48982 100644 --- a/util/mmap.cpp +++ b/util/mmap.cpp @@ -52,7 +52,7 @@ namespace mongo { // make sure we map full length if preexisting file. boost::uintmax_t l = boost::filesystem::file_size( filename ); assert( l <= 0x7fffffff ); - length = l; + length = (long) l; } void* MemoryMappedFile::map(const char *filename) { |