From 3aeacca7acf7fe77a3f0545451dbe4e3332c1628 Mon Sep 17 00:00:00 2001 From: Dominic Clark Date: Sun, 3 Mar 2019 16:11:02 +0000 Subject: [PATCH] Fix layout of VstSyncData struct Ensure member of type double is 8-byte aligned for consistent layout between 32- and 64-bit Linux builds. --- include/VstSyncController.h | 2 +- include/VstSyncData.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/VstSyncController.h b/include/VstSyncController.h index 682291b9ee3..970a48ad3cb 100644 --- a/include/VstSyncController.h +++ b/include/VstSyncController.h @@ -76,10 +76,10 @@ private slots: private: struct VstSyncData { - bool isPlaying; double ppqPos; int timeSigNumer; int timeSigDenom; + bool isPlaying; bool isCycle; bool hasSHM; float cycleStart; diff --git a/include/VstSyncData.h b/include/VstSyncData.h index f9696252a42..6c2f1bbd2a6 100644 --- a/include/VstSyncData.h +++ b/include/VstSyncData.h @@ -41,10 +41,10 @@ struct VstSyncData { - bool isPlaying; double ppqPos; int timeSigNumer; int timeSigDenom; + bool isPlaying; bool isCycle; bool hasSHM; float cycleStart;