aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--readme.txt12
-rw-r--r--src/mem_pool.cpp3
2 files changed, 8 insertions, 7 deletions
diff --git a/readme.txt b/readme.txt
index c32d8bbde..248db3e1c 100644
--- a/readme.txt
+++ b/readme.txt
@@ -1,10 +1,10 @@
-This is Botan 1.6.1.
-
-Botan 1.6 is mostly compatible with Botan 1.4, and many applications
-written against 1.4 will work against 1.6 without any modifications.
-However some applications, particularly ones doing complex processing,
-will require changes to match the new API.
+Please note that this is an experimental / development version of
+Botan. Don't be surprised by bugs. No, the documentation hasn't been
+updated (yet). Feedback and critical analysis is highly
+appreciated. If this sounds scary, it's recommened you use the latest
+stable release (either 1.4.x or, preferably, 1.6.x). You can file bugs
+at http://www.randombit.net/bugzilla
You can file bugs at http://www.randombit.net/bugzilla
diff --git a/src/mem_pool.cpp b/src/mem_pool.cpp
index cf64fc9af..67da88a14 100644
--- a/src/mem_pool.cpp
+++ b/src/mem_pool.cpp
@@ -270,7 +270,8 @@ void Pooling_Allocator::get_more_core(u32bit in_bytes)
}
std::sort(blocks.begin(), blocks.end());
- last_used = std::lower_bound(blocks.begin(), blocks.end(), ptr);
+ last_used = std::lower_bound(blocks.begin(), blocks.end(),
+ Memory_Block(ptr));
}
}