aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-05-14 15:51:14 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-05-14 15:51:14 -0500
commit266f68be322577afb11e62753ef1e51924ea9b71 (patch)
tree48662cf60cd60408d03bca3e818023d75cd2001b /src
parentMerge pull request #5509 (diff)
parenterror: fix compile error on windows with depends (diff)
downloadmonero-266f68be322577afb11e62753ef1e51924ea9b71.tar.xz
Merge pull request #5512
d47292e error: fix compile error on windows with depends (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r--src/lmdb/error.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lmdb/error.cpp b/src/lmdb/error.cpp
index 359677064..91479521e 100644
--- a/src/lmdb/error.cpp
+++ b/src/lmdb/error.cpp
@@ -55,7 +55,7 @@ namespace {
break; // map to nothing generic
case MDB_PAGE_NOTFOUND:
case MDB_CORRUPTED:
- return std::errc::state_not_recoverable;
+ return std::errc::bad_address;
case MDB_PANIC:
case MDB_VERSION_MISMATCH:
case MDB_INVALID: