From 3652809182f2ff89e552a519658cba2afc57ce28 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 15 Aug 2016 14:19:13 +0100 Subject: Try to fix int/long confusion. --- src/raw_convert.cc | 6 +++--- src/raw_convert.h | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/raw_convert.cc b/src/raw_convert.cc index b7685ab8..42622bfe 100644 --- a/src/raw_convert.cc +++ b/src/raw_convert.cc @@ -73,21 +73,21 @@ dcp::raw_convert (unsigned int v, int precision, bool fixed) template <> string -dcp::raw_convert (long int v, int precision, bool fixed) +dcp::raw_convert (long v, int precision, bool fixed) { return make_raw (locale_convert (v, precision, fixed)); } template <> string -dcp::raw_convert (unsigned long int v, int precision, bool fixed) +dcp::raw_convert (unsigned long v, int precision, bool fixed) { return make_raw (locale_convert (v, precision, fixed)); } template <> string -dcp::raw_convert (long long int v, int precision, bool fixed) +dcp::raw_convert (long long v, int precision, bool fixed) { return make_raw (locale_convert (v, precision, fixed)); } diff --git a/src/raw_convert.h b/src/raw_convert.h index 901e99dd..2bd74c60 100644 --- a/src/raw_convert.h +++ b/src/raw_convert.h @@ -62,19 +62,19 @@ raw_convert (unsigned int v, int, bool); template <> std::string -raw_convert (long int v, int, bool); +raw_convert (long v, int, bool); template <> std::string -raw_convert (unsigned long int v, int, bool); +raw_convert (unsigned long v, int, bool); template <> std::string -raw_convert (long long int v, int, bool); +raw_convert (long long v, int, bool); template <> std::string -raw_convert (unsigned long long int v, int, bool); +raw_convert (unsigned long long v, int, bool); template <> std::string -- cgit v1.2.3