Explicit conversion to int
This commit is contained in:
parent
6edfc0e678
commit
bb0aac1996
@ -160,7 +160,7 @@ class serializer
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pretty_print(val, current_indent))
|
if (pretty_print(val, static_cast<int>(current_indent)))
|
||||||
{
|
{
|
||||||
o->write_characters("{\n", 2);
|
o->write_characters("{\n", 2);
|
||||||
|
|
||||||
@ -233,7 +233,7 @@ class serializer
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pretty_print(val, current_indent))
|
if (pretty_print(val, static_cast<int>(current_indent)))
|
||||||
{
|
{
|
||||||
o->write_characters("[\n", 2);
|
o->write_characters("[\n", 2);
|
||||||
|
|
||||||
@ -295,7 +295,7 @@ class serializer
|
|||||||
|
|
||||||
case value_t::binary:
|
case value_t::binary:
|
||||||
{
|
{
|
||||||
if (pretty_print(val, current_indent))
|
if (pretty_print(val, static_cast<int>(current_indent)))
|
||||||
{
|
{
|
||||||
o->write_characters("{\n", 2);
|
o->write_characters("{\n", 2);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user