| 1 | Index: boost/xpressive/detail/utility/sequence_stack.hpp
|
|---|
| 2 | ===================================================================
|
|---|
| 3 | --- boost/xpressive/detail/utility/sequence_stack.hpp (revision 83066)
|
|---|
| 4 | +++ boost/xpressive/detail/utility/sequence_stack.hpp (working copy)
|
|---|
| 5 | @@ -115,7 +115,7 @@
|
|---|
| 6 | }
|
|---|
| 7 |
|
|---|
| 8 | // grow exponentially
|
|---|
| 9 | - std::size_t new_size = (std::max)(count, static_cast<std::size_t>(this->current_chunk_->size() * 1.5));
|
|---|
| 10 | + std::size_t new_size = (std::max)(count, static_cast<std::size_t>(static_cast<double>(this->current_chunk_->size()) * 1.5));
|
|---|
| 11 |
|
|---|
| 12 | // Create a new expr and insert it into the list
|
|---|
| 13 | this->current_chunk_ = new chunk(new_size, t, count, this->current_chunk_, this->current_chunk_->next_);
|
|---|