0
0
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:
Eliot Horowitz 2009-07-09 17:00:59 -04:00
parent bd018f61d5
commit b47dcb9a82

View File

@ -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);