Commit f406a42b authored by Victor Zverovich's avatar Victor Zverovich

Fix a warning about long long.

parent 39cc99e2
......@@ -519,7 +519,7 @@ void fmt::BasicFormatter<Char>::DoFormat() {
++s;
++num_open_braces_;
const Arg &precision_arg = ParseArgIndex(s);
unsigned long long value = 0;
ULongLong value = 0;
switch (precision_arg.type) {
case INT:
if (precision_arg.int_value < 0)
......
......@@ -66,6 +66,7 @@
# pragma warning(push)
# pragma warning(disable: 4521)
#endif
namespace fmt {
namespace internal {
......@@ -939,6 +940,8 @@ class BasicFormatter {
int num_open_braces_;
int next_arg_index_;
typedef unsigned long long ULongLong;
friend class internal::FormatterProxy<Char>;
// Forbid copying from a temporary as in the following example:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment