From d6d3cfeb3fc8dfd73998c2fee5f319b75f6757ff Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 2 Aug 2020 11:02:58 +0200 Subject: Fix double-promotion warnings --- src/client/BlockModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client') diff --git a/src/client/BlockModel.cpp b/src/client/BlockModel.cpp index d672b439..a4318f4e 100644 --- a/src/client/BlockModel.cpp +++ b/src/client/BlockModel.cpp @@ -223,7 +223,7 @@ BlockModel::port_value_range(const SPtr& port, } if (max <= min) { - max = min + 1.0; + max = min + 1.0f; } if (port->port_property(_uris.lv2_sampleRate)) { -- cgit v1.2.1