summaryrefslogtreecommitdiffstats
path: root/src/UdpSocket.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-07-17 11:22:25 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-07-17 11:22:25 +0200
commitbdcf14ca3a83675cfc56f8656e7f7a5ea934ba3a (patch)
tree53324537bd48256882cdd25e2d9c6c7003b47fbc /src/UdpSocket.cpp
parent5eb98cbc51135264ad0b82e0ba790df17f1d70c6 (diff)
downloaddabmux-bdcf14ca3a83675cfc56f8656e7f7a5ea934ba3a.tar.gz
dabmux-bdcf14ca3a83675cfc56f8656e7f7a5ea934ba3a.tar.bz2
dabmux-bdcf14ca3a83675cfc56f8656e7f7a5ea934ba3a.zip
EDI: add options, fix AF sequence, revision
Diffstat (limited to 'src/UdpSocket.cpp')
-rw-r--r--src/UdpSocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/UdpSocket.cpp b/src/UdpSocket.cpp
index 6d2728b..74730e9 100644
--- a/src/UdpSocket.cpp
+++ b/src/UdpSocket.cpp
@@ -333,7 +333,7 @@ char *UdpPacket::getData()
* @param data Pointer to the data to add
* @param size Size in bytes of new data
*/
-void UdpPacket::addData(void *data, unsigned size)
+void UdpPacket::addData(const void *data, unsigned size)
{
if (length + size > this->size) {
setSize(this->size << 1);