diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-09 12:44:52 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-09 12:44:52 +0100 |
commit | ebdbac9b380bd63d96fe73d77827f203bda16e01 (patch) | |
tree | 725bef637abcecee9a6b4286d760f36e79799f03 /src | |
parent | Merge branch 'warnings' into Werror (diff) | |
parent | FIxed int in test (diff) | |
download | cuberite-ebdbac9b380bd63d96fe73d77827f203bda16e01.tar cuberite-ebdbac9b380bd63d96fe73d77827f203bda16e01.tar.gz cuberite-ebdbac9b380bd63d96fe73d77827f203bda16e01.tar.bz2 cuberite-ebdbac9b380bd63d96fe73d77827f203bda16e01.tar.lz cuberite-ebdbac9b380bd63d96fe73d77827f203bda16e01.tar.xz cuberite-ebdbac9b380bd63d96fe73d77827f203bda16e01.tar.zst cuberite-ebdbac9b380bd63d96fe73d77827f203bda16e01.zip |
Diffstat (limited to '')
-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)); |