summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-15 13:07:59 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-15 13:07:59 +0100
commit886a2080dd9aa90fff8a567b0e4df43b737e36c6 (patch)
treebe16f0fc847041de8752ca948bebf5a9bfffd7bf
parent5e863b516aeaece822daedf5417522f97ffa7fce (diff)
Hack.
-rw-r--r--src/raw_convert.cc4
-rw-r--r--src/raw_convert.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/raw_convert.cc b/src/raw_convert.cc
index 5f8c1e41..09523b54 100644
--- a/src/raw_convert.cc
+++ b/src/raw_convert.cc
@@ -59,14 +59,14 @@ make_local (string v)
template <>
string
-dcp::raw_convert (int v, int precision, bool fixed)
+dcp::raw_convert (int32_t v, int precision, bool fixed)
{
return make_raw (locale_convert<string> (v, precision, fixed));
}
template <>
string
-dcp::raw_convert (unsigned int v, int precision, bool fixed)
+dcp::raw_convert (uint32_t v, int precision, bool fixed)
{
return make_raw (locale_convert<string> (v, precision, fixed));
}
diff --git a/src/raw_convert.h b/src/raw_convert.h
index 585c18fc..4a77b6a0 100644
--- a/src/raw_convert.h
+++ b/src/raw_convert.h
@@ -55,11 +55,11 @@ raw_convert (Q v, int precision = 16, bool fixed = false)
template <>
std::string
-raw_convert (int v, int, bool);
+raw_convert (int32_t v, int, bool);
template <>
std::string
-raw_convert (unsigned int v, int, bool);
+raw_convert (uint32_t v, int, bool);
template <>
std::string