summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-02 11:02:58 +0200
committerDavid Robillard <d@drobilla.net>2020-08-02 12:51:09 +0200
commitd6d3cfeb3fc8dfd73998c2fee5f319b75f6757ff (patch)
tree8f2b25c77c66a012912cd8c89d571ef068e114b9 /src/client
parentc17ac70512d473fa6ab6b2f4c9fb0bd4e716d3c6 (diff)
downloadingen-d6d3cfeb3fc8dfd73998c2fee5f319b75f6757ff.tar.gz
ingen-d6d3cfeb3fc8dfd73998c2fee5f319b75f6757ff.tar.bz2
ingen-d6d3cfeb3fc8dfd73998c2fee5f319b75f6757ff.zip
Fix double-promotion warnings
Diffstat (limited to 'src/client')
-rw-r--r--src/client/BlockModel.cpp2
1 files changed, 1 insertions, 1 deletions
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<const PortModel>& port,
}
if (max <= min) {
- max = min + 1.0;
+ max = min + 1.0f;
}
if (port->port_property(_uris.lv2_sampleRate)) {