summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp b/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp
index a0f3cf88..e92c9eec 100644
--- a/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp
+++ b/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp
@@ -28,7 +28,6 @@ void TrackerImpl::run() {
#pragma pack(push, 1)
struct {
uint8_t pad1;
- uint8_t pad2;
uint8_t flags;
float fl[12];
} data;
@@ -51,7 +50,7 @@ void TrackerImpl::run() {
while (sock.hasPendingDatagrams())
{
using t = decltype(data);
- t tmp {0,0,0, {0,0,0, 0,0,0}};
+ t tmp {0,0, {0,0,0, 0,0,0, 0,0,0, 0,0,0}};
(void) sock.readDatagram(reinterpret_cast<char*>(&tmp), sizeof(data));
int flags = tmp.flags & F::Mask;