diff options
author | Alexander Tkachev | 2016-05-27 22:37:03 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 14d60e62f8452dd433fcf275cd87fd9b8c3bd6fd (patch) | |
tree | cd7c6329af6ebd76beeea6e0b857df2a3056371f /common | |
parent | 8aa87815a62117c5fd29b335c8e33b0cbea0da44 (diff) | |
download | scummvm-rg350-14d60e62f8452dd433fcf275cd87fd9b8c3bd6fd.tar.gz scummvm-rg350-14d60e62f8452dd433fcf275cd87fd9b8c3bd6fd.tar.bz2 scummvm-rg350-14d60e62f8452dd433fcf275cd87fd9b8c3bd6fd.zip |
CLOUD: Fix format string warnings
I get 'warning: ISO C++98 does not support the '%lg' ms_printf format'
warning though.
Diffstat (limited to 'common')
-rw-r--r-- | common/json.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/json.cpp b/common/json.cpp index 83ce0db29d..95c9123b4e 100644 --- a/common/json.cpp +++ b/common/json.cpp @@ -934,7 +934,7 @@ String JSONValue::stringifyImpl(size_t const indentDepth) const { ret_string = "null"; else { char str[80]; - sprintf(str, "%.15Lf", _numberValue); //ss.precision(15); + sprintf(str, "%lg", _numberValue); ret_string = str; } break; |