Adapt for libdcp use of enum class.
[dcpomatic.git] / src / wx / colour_conversion_editor.cc
index 46bf77a8ec7ccb80455771af747ab95c062951e4..a615b666ada22ad01ebe5435feb59a6490ddd22b 100644 (file)
@@ -267,7 +267,7 @@ ColourConversionEditor::set (ColourConversion conversion)
                checked_set (_input, 2);
        }
 
-       _yuv_to_rgb->SetSelection (conversion.yuv_to_rgb ());
+       _yuv_to_rgb->SetSelection (static_cast<int>(conversion.yuv_to_rgb()));
 
        _ignore_chromaticity_changed = true;