summaryrefslogtreecommitdiff
path: root/src/lib/colour_conversion.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-12 09:10:08 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-12 09:14:09 +0100
commitb81241ce69a689629307832f802ac4faa6ed885f (patch)
tree307eb7b6bb562553e6e92e8939d5c89f7111e66a /src/lib/colour_conversion.cc
parent94056bf7f8fdef32da3cd78eff68d58560b4e6be (diff)
Move locale_convert into libdcp.
Diffstat (limited to 'src/lib/colour_conversion.cc')
-rw-r--r--src/lib/colour_conversion.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/colour_conversion.cc b/src/lib/colour_conversion.cc
index e4659a5d9..aa6b61fed 100644
--- a/src/lib/colour_conversion.cc
+++ b/src/lib/colour_conversion.cc
@@ -152,7 +152,7 @@ ColourConversion::as_xml (xmlpp::Node* node) const
in_node->add_child("B")->add_child_text (raw_convert<string> (tf->B ()));
}
- node->add_child("YUVToRGB")->add_child_text (raw_convert<string> (_yuv_to_rgb));
+ node->add_child("YUVToRGB")->add_child_text (raw_convert<string> (static_cast<int> (_yuv_to_rgb)));
node->add_child("RedX")->add_child_text (raw_convert<string> (_red.x));
node->add_child("RedY")->add_child_text (raw_convert<string> (_red.y));
node->add_child("GreenX")->add_child_text (raw_convert<string> (_green.x));