diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-07-17 11:22:25 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-07-17 11:22:25 +0200 |
commit | bdcf14ca3a83675cfc56f8656e7f7a5ea934ba3a (patch) | |
tree | 53324537bd48256882cdd25e2d9c6c7003b47fbc /src/UdpSocket.cpp | |
parent | 5eb98cbc51135264ad0b82e0ba790df17f1d70c6 (diff) | |
download | dabmux-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.cpp | 2 |
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); |