summaryrefslogtreecommitdiffstats
path: root/src/ByteBuffer.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-24 22:42:33 +0200
committermadmaxoft <github@xoft.cz>2014-04-24 22:42:33 +0200
commit616fb15508187d317a7ca4195667e204faf3749c (patch)
treef65aafc4d6e391a8c03eefeb363a4443e8796689 /src/ByteBuffer.h
parentDeclared a SharedPtr that hopefully resolves on all platforms. (diff)
downloadcuberite-616fb15508187d317a7ca4195667e204faf3749c.tar
cuberite-616fb15508187d317a7ca4195667e204faf3749c.tar.gz
cuberite-616fb15508187d317a7ca4195667e204faf3749c.tar.bz2
cuberite-616fb15508187d317a7ca4195667e204faf3749c.tar.lz
cuberite-616fb15508187d317a7ca4195667e204faf3749c.tar.xz
cuberite-616fb15508187d317a7ca4195667e204faf3749c.tar.zst
cuberite-616fb15508187d317a7ca4195667e204faf3749c.zip
Diffstat (limited to '')
-rw-r--r--src/ByteBuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ByteBuffer.h b/src/ByteBuffer.h
index 44f43e17f..7656a5b13 100644
--- a/src/ByteBuffer.h
+++ b/src/ByteBuffer.h
@@ -31,7 +31,7 @@ public:
~cByteBuffer();
/// Writes the bytes specified to the ringbuffer. Returns true if successful, false if not
- bool Write(const char * a_Bytes, size_t a_Count);
+ bool Write(const void * a_Bytes, size_t a_Count);
/// Returns the number of bytes that can be successfully written to the ringbuffer
size_t GetFreeSpace(void) const;