summaryrefslogtreecommitdiff
path: root/src/net/messagein.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/messagein.h')
-rw-r--r--src/net/messagein.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/messagein.h b/src/net/messagein.h
index c6c5ce7eb..2f152924d 100644
--- a/src/net/messagein.h
+++ b/src/net/messagein.h
@@ -89,7 +89,7 @@ class MessageIn
/**
* Skips a given number of bytes.
*/
- virtual void skip(unsigned int length);
+ virtual void skip(const unsigned int length);
/**
* Reads a string. If a length is not given (-1), it is assumed
@@ -105,7 +105,8 @@ class MessageIn
virtual ~MessageIn()
{ }
- static uint8_t fromServerDirection(uint8_t serverDir) A_WARN_UNUSED;
+ static uint8_t fromServerDirection(const uint8_t serverDir)
+ A_WARN_UNUSED;
protected:
/**