summaryrefslogtreecommitdiff
path: root/extra/yassl/src/buffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'extra/yassl/src/buffer.cpp')
-rw-r--r--extra/yassl/src/buffer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/yassl/src/buffer.cpp b/extra/yassl/src/buffer.cpp
index 0c3f23b0cb8..66107dbe0a9 100644
--- a/extra/yassl/src/buffer.cpp
+++ b/extra/yassl/src/buffer.cpp
@@ -106,7 +106,7 @@ void input_buffer::add_size(uint i)
uint input_buffer::get_capacity() const
{
- return end_ - buffer_;
+ return (uint) (end_ - buffer_);
}
@@ -223,7 +223,7 @@ uint output_buffer::get_size() const
uint output_buffer::get_capacity() const
{
- return end_ - buffer_;
+ return (uint) (end_ - buffer_);
}