summaryrefslogtreecommitdiff
path: root/src/lib/raw_image_proxy.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/raw_image_proxy.cc
parent94056bf7f8fdef32da3cd78eff68d58560b4e6be (diff)
Move locale_convert into libdcp.
Diffstat (limited to 'src/lib/raw_image_proxy.cc')
-rw-r--r--src/lib/raw_image_proxy.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/raw_image_proxy.cc b/src/lib/raw_image_proxy.cc
index e182c0e5d..6ebcee60c 100644
--- a/src/lib/raw_image_proxy.cc
+++ b/src/lib/raw_image_proxy.cc
@@ -64,7 +64,7 @@ RawImageProxy::add_metadata (xmlpp::Node* node) const
node->add_child("Type")->add_child_text (N_("Raw"));
node->add_child("Width")->add_child_text (raw_convert<string> (_image->size().width));
node->add_child("Height")->add_child_text (raw_convert<string> (_image->size().height));
- node->add_child("PixelFormat")->add_child_text (raw_convert<string> (_image->pixel_format ()));
+ node->add_child("PixelFormat")->add_child_text (raw_convert<string> (static_cast<int> (_image->pixel_format ())));
}
void