summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-11-08 09:48:47 -0800
committerCarl Hetherington <cth@carlh.net>2013-11-08 09:48:47 -0800
commit31f7328d3f15729aa13881bb3582423c5a5fc27a (patch)
tree9016b8e605e0b6a59a0ca9f2e31416a057676d94 /src
parent5673d7a051662afd129fa409cdbf3adb6119689e (diff)
Remove erroneous double cast causing strange behaviour of J2K bandwidth control on 32-bit Linux.
Diffstat (limited to 'src')
-rw-r--r--src/wx/film_editor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc
index 1472c8b89..b789a8266 100644
--- a/src/wx/film_editor.cc
+++ b/src/wx/film_editor.cc
@@ -425,7 +425,7 @@ FilmEditor::film_changed (Film::Property p)
setup_dcp_name ();
break;
case Film::J2K_BANDWIDTH:
- checked_set (_j2k_bandwidth, double (_film->j2k_bandwidth()) / 1000000);
+ checked_set (_j2k_bandwidth, _film->j2k_bandwidth() / 1000000);
break;
case Film::USE_DCI_NAME:
checked_set (_use_dci_name, _film->use_dci_name ());