From 9f957f8220ebe5a730c5e6b39949a3ef23bedae0 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 17 Dec 2021 15:26:07 -0700 Subject: [PATCH] triggerbox: change type of _follow_count property to avoid signed/unsigned warnings --- libs/ardour/ardour/triggerbox.h | 4 ++-- libs/ardour/triggerbox.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/ardour/ardour/triggerbox.h b/libs/ardour/ardour/triggerbox.h index ff168b8946..f9580e82fd 100644 --- a/libs/ardour/ardour/triggerbox.h +++ b/libs/ardour/ardour/triggerbox.h @@ -256,7 +256,7 @@ class LIBARDOUR_API Trigger : public PBD::Stateful { FollowAction _follow_action[2]; PBD::Property _follow_action_probability; uint32_t _loop_cnt; /* how many times in a row has this played */ - PBD::Property _follow_count; + PBD::Property _follow_count; Temporal::BBT_Offset _quantization; PBD::Property _legato; std::string _name; @@ -621,7 +621,7 @@ namespace Properties { LIBARDOUR_API extern PBD::PropertyDescriptor launch_style; LIBARDOUR_API extern PBD::PropertyDescriptor follow_action0; LIBARDOUR_API extern PBD::PropertyDescriptor follow_action1; - LIBARDOUR_API extern PBD::PropertyDescriptor follow_count; + LIBARDOUR_API extern PBD::PropertyDescriptor follow_count; LIBARDOUR_API extern PBD::PropertyDescriptor follow_action_probability; LIBARDOUR_API extern PBD::PropertyDescriptor velocity_effect; LIBARDOUR_API extern PBD::PropertyDescriptor gain; diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index 488550ea91..65b7e65695 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -53,7 +53,7 @@ namespace ARDOUR { PBD::PropertyDescriptor follow_action0; PBD::PropertyDescriptor follow_action1; PBD::PropertyDescriptor currently_playing; - PBD::PropertyDescriptor follow_count; + PBD::PropertyDescriptor follow_count; PBD::PropertyDescriptor follow_action_probability; PBD::PropertyDescriptor velocity_effect; PBD::PropertyDescriptor gain;