diff options
author | Mattes D <github@xoft.cz> | 2014-04-30 17:05:13 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-04-30 17:05:13 +0200 |
commit | 014fab58e6eafce87a092aa859c5008dbdaa5c7b (patch) | |
tree | ac4ea8515e0461483714e18cef7bbb961f0fbec3 /src/ByteBuffer.h | |
parent | Delayed sending the KeepAlive packet for 3 seconds after login. (diff) | |
parent | Removed unneeded #includes. (diff) | |
download | cuberite-014fab58e6eafce87a092aa859c5008dbdaa5c7b.tar cuberite-014fab58e6eafce87a092aa859c5008dbdaa5c7b.tar.gz cuberite-014fab58e6eafce87a092aa859c5008dbdaa5c7b.tar.bz2 cuberite-014fab58e6eafce87a092aa859c5008dbdaa5c7b.tar.lz cuberite-014fab58e6eafce87a092aa859c5008dbdaa5c7b.tar.xz cuberite-014fab58e6eafce87a092aa859c5008dbdaa5c7b.tar.zst cuberite-014fab58e6eafce87a092aa859c5008dbdaa5c7b.zip |
Diffstat (limited to 'src/ByteBuffer.h')
-rw-r--r-- | src/ByteBuffer.h | 2 |
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; |