summaryrefslogtreecommitdiffstats
path: root/src/ByteBuffer.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-09 12:43:22 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-09 12:43:22 +0100
commit14c2f620d181614cd87270f8811b162858b53a49 (patch)
treed2bc0bc8e35eb7d3688f19c63332ae18c9b45c5a /src/ByteBuffer.cpp
parentAdded static (diff)
downloadcuberite-14c2f620d181614cd87270f8811b162858b53a49.tar
cuberite-14c2f620d181614cd87270f8811b162858b53a49.tar.gz
cuberite-14c2f620d181614cd87270f8811b162858b53a49.tar.bz2
cuberite-14c2f620d181614cd87270f8811b162858b53a49.tar.lz
cuberite-14c2f620d181614cd87270f8811b162858b53a49.tar.xz
cuberite-14c2f620d181614cd87270f8811b162858b53a49.tar.zst
cuberite-14c2f620d181614cd87270f8811b162858b53a49.zip
Diffstat (limited to '')
-rw-r--r--src/ByteBuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ByteBuffer.cpp b/src/ByteBuffer.cpp
index a3b40e5ef..96a135562 100644
--- a/src/ByteBuffer.cpp
+++ b/src/ByteBuffer.cpp
@@ -86,7 +86,7 @@ public:
cByteBuffer buf(3);
for (int i = 0; i < 1000; i++)
{
- int FreeSpace = buf.GetFreeSpace();
+ size_t FreeSpace = buf.GetFreeSpace();
assert(buf.GetReadableSpace() == 0);
assert(FreeSpace > 0);
assert(buf.Write("a", 1));