diff options
Diffstat (limited to 'src/UdpSocket.h')
-rw-r--r-- | src/UdpSocket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/UdpSocket.h b/src/UdpSocket.h index f1487b3..109732f 100644 --- a/src/UdpSocket.h +++ b/src/UdpSocket.h @@ -106,7 +106,7 @@ class UdpPacket { ~UdpPacket(); char *getData(); - void addData(void *data, unsigned size); + void addData(const void *data, unsigned size); unsigned long getLength(); unsigned long getSize(); unsigned long getOffset(); |