Commit b358f8be authored by Yoni Fogel's avatar Yoni Fogel

[t:5062] Fix compiler warning

git-svn-id: file:///svn/toku/tokudb@44752 c7de825b-a66e-492c-adef-691d508d4ae1
parent a57c1a66
...@@ -56,7 +56,8 @@ static void test_setup_and_recover(TOKULOGGER *loggerp, CACHETABLE *ctp) { ...@@ -56,7 +56,8 @@ static void test_setup_and_recover(TOKULOGGER *loggerp, CACHETABLE *ctp) {
r = toku_logger_create(&logger); r = toku_logger_create(&logger);
CKERR(r); CKERR(r);
r = tokudb_recover((DB_ENV*)&ct, void *ctv = &ct; // Use intermediate void* to avoid compiler warning.
r = tokudb_recover(ctv,
NULL_prepared_txn_callback, NULL_prepared_txn_callback,
xid_lsn_keep_cachetable_callback, xid_lsn_keep_cachetable_callback,
logger, logger,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment