summaryrefslogtreecommitdiffstats
path: root/src/messageout.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/messageout.h')
-rw-r--r--src/messageout.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/messageout.h b/src/messageout.h
index d48cb89..df49881 100644
--- a/src/messageout.h
+++ b/src/messageout.h
@@ -42,8 +42,8 @@ class MessageOut
~MessageOut();
void writeByte(char value); /**< Reads a byte. */
- void writeShort(short value); /**< Reads a short. */
- void writeLong(long value); /**< Reads a long. */
+ void writeShort(unsigned short value);/**< Reads a short. */
+ void writeLong(unsigned long value); /**< Reads a long. */
/**
* Writes a string. If a fixed length is not given (-1), it is stored
@@ -59,6 +59,7 @@ class MessageOut
private:
Packet *packet; /**< Created packet. */
+ unsigned int pos; /**< Current position in packet */
};
#endif