X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fraw_image_proxy.cc;h=6ebcee60c9d1c135822a8426fd3d49d7f5cec98a;hb=5b04f870694373ad9c6086aed5ab38b0c6b41ccc;hp=e182c0e5d17f5048f70f1814826dbfbdf4aac88f;hpb=73654117144c6de0ec4efe39ddc88485df546cc9;p=dcpomatic.git 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 (_image->size().width)); node->add_child("Height")->add_child_text (raw_convert (_image->size().height)); - node->add_child("PixelFormat")->add_child_text (raw_convert (_image->pixel_format ())); + node->add_child("PixelFormat")->add_child_text (raw_convert (static_cast (_image->pixel_format ()))); } void