diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-09 12:43:22 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-09 12:43:22 +0100 |
commit | 14c2f620d181614cd87270f8811b162858b53a49 (patch) | |
tree | d2bc0bc8e35eb7d3688f19c63332ae18c9b45c5a /src/ByteBuffer.cpp | |
parent | Added static (diff) | |
download | cuberite-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 'src/ByteBuffer.cpp')
-rw-r--r-- | src/ByteBuffer.cpp | 2 |
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)); |