summaryrefslogtreecommitdiff
path: root/dev-db/kyotocabinet/files/kyotocabinet-1.2.76-gcc6.patch
blob: 3bcc6a28e795095a0d38ad322e283d7cddf05d39 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/kcdbext.h
+++ b/kcdbext.h
@@ -1278,7 +1278,7 @@
     if (omode_ == 0) {
       set_error(_KCCODELINE_, BasicDB::Error::INVALID, "not opened");
       *sp = 0;
-      return false;
+      return NULL;
     }
     if (!cache_) return db_.get(kbuf, ksiz, sp);
     size_t dvsiz = 0;