summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2009-08-13 12:28:30 -0400
committerDwight <dmerriman@gmail.com>2009-08-13 12:28:30 -0400
commit02959549f205696c7390083fd135c9176fc77e31 (patch)
tree5cec7ecebc6c92aaaf0c8362c466b64b152ba0e1 /util
parentd22866abfff9e1a85f5fbec8b8be50653e4aa3d7 (diff)
downloadmongo-02959549f205696c7390083fd135c9176fc77e31.tar.gz
elim warning windows
Diffstat (limited to 'util')
-rw-r--r--util/mmap.cpp2
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) {