summaryrefslogtreecommitdiffstats
path: root/src/ByteBuffer.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-09 19:21:42 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-09 19:21:42 +0100
commit9825dbfd34c65580d795065d1a82e7697b9c5cbd (patch)
treea112f3b17bdf16dce31a62f904e201ac58b96720 /src/ByteBuffer.h
parentMerge branch 'master' into Werror (diff)
downloadcuberite-9825dbfd34c65580d795065d1a82e7697b9c5cbd.tar
cuberite-9825dbfd34c65580d795065d1a82e7697b9c5cbd.tar.gz
cuberite-9825dbfd34c65580d795065d1a82e7697b9c5cbd.tar.bz2
cuberite-9825dbfd34c65580d795065d1a82e7697b9c5cbd.tar.lz
cuberite-9825dbfd34c65580d795065d1a82e7697b9c5cbd.tar.xz
cuberite-9825dbfd34c65580d795065d1a82e7697b9c5cbd.tar.zst
cuberite-9825dbfd34c65580d795065d1a82e7697b9c5cbd.zip
Diffstat (limited to 'src/ByteBuffer.h')
-rw-r--r--src/ByteBuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ByteBuffer.h b/src/ByteBuffer.h
index ed2e10a55..1915467f3 100644
--- a/src/ByteBuffer.h
+++ b/src/ByteBuffer.h
@@ -43,7 +43,7 @@ public:
size_t GetReadableSpace(void) const;
/// Returns the current data start index. For debugging purposes.
- int GetDataStart(void) const { return m_DataStart; }
+ size_t GetDataStart(void) const { return m_DataStart; }
/// Returns true if the specified amount of bytes are available for reading
bool CanReadBytes(size_t a_Count) const;