summaryrefslogtreecommitdiff
path: root/db/extsort.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2010-07-02 12:01:32 -0400
committerMathias Stearn <mathias@10gen.com>2010-07-02 12:01:47 -0400
commitdfedac14db32629868a5ad1484290bec5c5e054f (patch)
tree9c8604288507eb37ad030af796cb0ddf20ae0570 /db/extsort.cpp
parentea3208f3ed5926c577e827ffe9b15db556f69782 (diff)
downloadmongo-dfedac14db32629868a5ad1484290bec5c5e054f.tar.gz
squash warning
Diffstat (limited to 'db/extsort.cpp')
-rw-r--r--db/extsort.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/extsort.cpp b/db/extsort.cpp
index 93dd701ec23..70e7754607a 100644
--- a/db/extsort.cpp
+++ b/db/extsort.cpp
@@ -221,7 +221,7 @@ namespace mongo {
long length;
_buf = (char*)_file.map( file.c_str() , length , MemoryMappedFile::SEQUENTIAL );
massert( 10308 , "mmap failed" , _buf );
- assert( (unsigned long)length == file_size( file ) );
+ assert( (uintmax_t)length == file_size( file ) );
_end = _buf + length;
}
BSONObjExternalSorter::FileIterator::~FileIterator(){