}
template<>
-int64_t
+long
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;
+}
+
+template<>
+long long
+dcp::locale_convert (string x, int, bool)
+{
+ long long y = 0;
+ sscanf (x.c_str(), "%lld", &y);
return y;
}