From 8a855ae0f3dc116362928b3fa8f7c6313aab4119 Mon Sep 17 00:00:00 2001 From: falkTX Date: Tue, 5 Apr 2016 16:26:19 +0200 Subject: [PATCH] Fix new osx build --- source/modules/distrho/src/DistrhoPluginLV2.cpp | 2 +- source/plugin/carla-lv2.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/modules/distrho/src/DistrhoPluginLV2.cpp b/source/modules/distrho/src/DistrhoPluginLV2.cpp index 907d882f3..606c65a64 100644 --- a/source/modules/distrho/src/DistrhoPluginLV2.cpp +++ b/source/modules/distrho/src/DistrhoPluginLV2.cpp @@ -309,7 +309,7 @@ public: fURIDs.timeFrame, &frame, fURIDs.timeSpeed, &speed, fURIDs.timeTicksPerBeat, &ticksPerBeat, - nullptr); + 0); // need to handle this first as other values depend on it if (ticksPerBeat != nullptr) diff --git a/source/plugin/carla-lv2.cpp b/source/plugin/carla-lv2.cpp index 7a244bc00..a893a4774 100644 --- a/source/plugin/carla-lv2.cpp +++ b/source/plugin/carla-lv2.cpp @@ -315,7 +315,7 @@ public: fURIs.timeFrame, &frame, fURIs.timeSpeed, &speed, fURIs.timeTicksPerBeat, &ticksPerBeat, - nullptr); + 0); // need to handle this first as other values depend on it if (ticksPerBeat != nullptr)