summaryrefslogtreecommitdiff
path: root/src/lib/config.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/config.cc
parent94056bf7f8fdef32da3cd78eff68d58560b4e6be (diff)
Move locale_convert into libdcp.
Diffstat (limited to 'src/lib/config.cc')
-rw-r--r--src/lib/config.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc
index 7f457439d..b5e4b4d00 100644
--- a/src/lib/config.cc
+++ b/src/lib/config.cc
@@ -380,7 +380,7 @@ Config::write_config_xml () const
}
root->add_child("OnlyServersEncode")->add_child_text (_only_servers_encode ? "1" : "0");
- root->add_child("TMSProtocol")->add_child_text (raw_convert<string> (_tms_protocol));
+ root->add_child("TMSProtocol")->add_child_text (raw_convert<string> (static_cast<int> (_tms_protocol)));
root->add_child("TMSIP")->add_child_text (_tms_ip);
root->add_child("TMSPath")->add_child_text (_tms_path);
root->add_child("TMSUser")->add_child_text (_tms_user);