From 3a8133621264cac3381c8233b79147c6a94fa4e9 Mon Sep 17 00:00:00 2001 From: Divjot Arora Date: Tue, 5 Mar 2019 13:44:25 -0500 Subject: SERVER-39655 Change uint32_t to int32_t in fetchStats --- src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/db/storage') diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp index 9b3db81dbf5..b22a72a1082 100644 --- a/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp +++ b/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp @@ -114,7 +114,7 @@ void WiredTigerOperationStats::fetchStats(WT_SESSION* session, const char* desc; uint64_t value; - uint32_t key; + int32_t key; while (c->next(c) == 0 && c->get_key(c, &key) == 0) { fassert(51035, c->get_value(c, &desc, nullptr, &value) == 0); _stats[key] = WiredTigerUtil::castStatisticsValue(value); -- cgit v1.2.1