summaryrefslogtreecommitdiff
path: root/src/locale_convert.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale_convert.cc')
-rw-r--r--src/locale_convert.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/locale_convert.cc b/src/locale_convert.cc
index fc156244..129ee50f 100644
--- a/src/locale_convert.cc
+++ b/src/locale_convert.cc
@@ -185,11 +185,11 @@ dcp::locale_convert (string x, int, bool)
}
template<>
-int64_t
+long int
dcp::locale_convert (string x, int, bool)
{
- int64_t y = 0;
- sscanf (x.c_str(), "%" PRId64, &y);
+ long int y = 0;
+ sscanf (x.c_str(), "%ld", &y);
return y;
}