From 4e1c04f5448364f0931a2d2d5fe8dcc8619463fc Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 29 Sep 2016 11:07:46 +0100 Subject: Another similar speculative Win32 fix. --- src/locale_convert.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/locale_convert.cc b/src/locale_convert.cc index 6bab34d1..133c8a3a 100644 --- a/src/locale_convert.cc +++ b/src/locale_convert.cc @@ -202,7 +202,11 @@ long long dcp::locale_convert (string x, int, bool) { long long y = 0; +#ifdef LIBDCP_WINDOWS + __mingw_sscanf (x.c_str(), "%lld", &y); +#else sscanf (x.c_str(), "%lld", &y); +#endif return y; } -- cgit v1.2.3