Skip to content

Commit eb609f3

Browse files
committed
Correct the size of the BrokerPDU's vector
1 parent 5b36363 commit eb609f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libs/acn/BrokerPDU.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void BrokerPDU::PackData(OutputStream *stream) const {
5959

6060

6161
void BrokerPDU::PrependPDU(ola::io::IOStack *stack,
62-
uint32_t vector) {
62+
uint16_t vector) {
6363
vector = HostToNetwork(vector);
6464
stack->Write(reinterpret_cast<uint8_t*>(&vector), sizeof(vector));
6565
PrependFlagsAndLength(stack, VFLAG_MASK | HFLAG_MASK | DFLAG_MASK, true);

libs/acn/BrokerPDU.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class BrokerPDU: public PDU {
5151
void PackData(ola::io::OutputStream *stream) const;
5252

5353
static void PrependPDU(ola::io::IOStack *stack,
54-
uint32_t vector);
54+
uint16_t vector);
5555

5656
private:
5757
const PDU *m_pdu;

0 commit comments

Comments
 (0)