summaryrefslogtreecommitdiff
path: root/src/raw_convert.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/raw_convert.cc')
-rw-r--r--src/raw_convert.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/raw_convert.cc b/src/raw_convert.cc
index 35a57a52..e1b909c0 100644
--- a/src/raw_convert.cc
+++ b/src/raw_convert.cc
@@ -62,6 +62,20 @@ make_local (string v)
template <>
string
+dcp::raw_convert (unsigned char v, int precision, bool fixed)
+{
+ return make_raw (locale_convert<string> (v, precision, fixed));
+}
+
+template <>
+string
+dcp::raw_convert (unsigned short int v, int precision, bool fixed)
+{
+ return make_raw (locale_convert<string> (v, precision, fixed));
+}
+
+template <>
+string
dcp::raw_convert (int v, int precision, bool fixed)
{
return make_raw (locale_convert<string> (v, precision, fixed));