From 9c1b5fe297e343bd661fdc834dd9a8ff89c2fcee Mon Sep 17 00:00:00 2001 From: orignal Date: Sat, 16 Sep 2017 15:24:55 -0400 Subject: [PATCH] compatibility with db6 --- src/db.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db.cpp b/src/db.cpp index a1af5d0..ce0a0c3 100644 --- a/src/db.cpp +++ b/src/db.cpp @@ -38,7 +38,7 @@ void CDBEnv::EnvShutdown() if (ret != 0) printf("EnvShutdown exception: %s (%d)\n", DbEnv::strerror(ret), ret); if (!fMockDb) - DbEnv(0).remove(path.string().c_str(), 0); + DbEnv((uint32_t)0).remove(path.string().c_str(), 0); } CDBEnv::CDBEnv() : dbenv(DB_CXX_NO_EXCEPTIONS)