Skip to content

Commit f69d15b

Browse files
committed
SERVER-6572 - fix windows
1 parent a3dd871 commit f69d15b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mongo/db/record.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ namespace mongo {
211211
static const size_t superpageMask = ~0xffffLL;
212212
static const size_t superpageShift = 16;
213213
static const size_t pageSelectorMask = 0xf000LL; // selects a page in a superpage
214-
static const size_t pageSelectorShift = 12;
214+
static const int pageSelectorShift = 12;
215215

216216
// Tunables
217217
static const int capacity = 128; // in superpages
@@ -301,7 +301,7 @@ namespace mongo {
301301
return &_pointerTableData;
302302
}
303303
#elif defined(_WIN32)
304-
__declspec( thread ) ps::PointerTable::Data _pointerTable;
304+
__declspec( thread ) ps::PointerTable::Data _pointerTableData;
305305
ps::PointerTable::Data* ps::PointerTable::getData() {
306306
return &_pointerTableData;
307307
}

0 commit comments

Comments
 (0)