MQTTPacket fixes

Fork of MQTTPacket by MQTT

Revision:
4:c502573c6016
Parent:
3:4a4f8699f935
Child:
5:eea71419676a
--- a/MQTTPacket.c	Thu Apr 10 22:54:14 2014 +0000
+++ b/MQTTPacket.c	Fri Apr 11 23:44:15 2014 +0100
@@ -174,7 +174,7 @@
  * @param pptr pointer to the output buffer - incremented by the number of bytes used & returned
  * @param string the C string to write
  */
-void writeCString(char** pptr, char* string)
+void writeCString(char** pptr, const char* string)
 {
 	int len = strlen(string);
 	writeInt(pptr, len);