diff options
author | David Robillard <d@drobilla.net> | 2012-08-10 04:34:02 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-10 04:34:02 +0000 |
commit | 5ebe47b4517dacb45fca97408254c32857a52244 (patch) | |
tree | ae2a01b35301da61ccdaec309ad0ff3b4b592fe2 /src | |
parent | a4cbf25e28fece665a13fd8a2b95e3f81c47dd25 (diff) | |
download | jalv-5ebe47b4517dacb45fca97408254c32857a52244.tar.gz jalv-5ebe47b4517dacb45fca97408254c32857a52244.tar.bz2 jalv-5ebe47b4517dacb45fca97408254c32857a52244.zip |
Fix unnecessary implicit float=>double conversions.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@4645 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/jalv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -176,7 +176,7 @@ create_port(Jalv* jalv, /* Set control values */ if (lilv_port_is_a(jalv->plugin, port->lilv_port, jalv->nodes.lv2_ControlPort)) { port->type = TYPE_CONTROL; - port->control = isnan(default_value) ? 0.0 : default_value; + port->control = isnan(default_value) ? 0.0f : default_value; } else if (lilv_port_is_a(jalv->plugin, port->lilv_port, jalv->nodes.lv2_AudioPort)) { port->type = TYPE_AUDIO; |