mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
windows compile MINOR
This commit is contained in:
parent
bd018f61d5
commit
b47dcb9a82
@ -49,7 +49,7 @@ namespace mongo {
|
||||
|
||||
unsigned mapped = 0;
|
||||
|
||||
void* MemoryMappedFile::map(const char *_filename, int &length) {
|
||||
void* MemoryMappedFile::map(const char *_filename, long &length) {
|
||||
/* big hack here: Babble uses db names with colons. doesn't seem to work on windows. temporary perhaps. */
|
||||
char filename[256];
|
||||
strncpy(filename, _filename, 255);
|
||||
|
Loading…
Reference in New Issue
Block a user