summaryrefslogtreecommitdiff
path: root/src/include/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/session.h')
-rw-r--r--src/include/session.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/session.h b/src/include/session.h
index 8a8b229dbc0..b9a55f924de 100644
--- a/src/include/session.h
+++ b/src/include/session.h
@@ -146,9 +146,9 @@ struct WT_COMPILER_TYPE_ALIGN(WT_CACHE_LINE_ALIGNMENT) __wt_session_impl {
* to clear everything but the fields that persist.
*/
#define WT_SESSION_CLEAR_SIZE(s) \
- (WT_PTRDIFF(&(s)->rnd[0], s))
+ (WT_PTRDIFF(&(s)->rnd, s))
- uint32_t rnd[2]; /* Random number generation state */
+ uint64_t rnd; /* Random number generation state */
/* Hashed handle reference list array */
SLIST_HEAD(__dhandles_hash, __wt_data_handle_cache) *dhhash;